Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9642/0.9642, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.03/2.03, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.319e-05, allocations: 3.219 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003845/0.003868, allocations: 2.525 MB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.005851, allocations: 1.252 MB / 0.8818 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.00598, allocations: 4 kB / 0.8818 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.006479, allocations: 95.45 kB / 0.8819 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.006902, allocations: 179.9 kB / 0.8821 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.007291, allocations: 173.6 kB / 0.8823 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.007662, allocations: 326.9 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.007985, allocations: 174 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.00827, allocations: 183.6 kB / 0.8829 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.008564, allocations: 160.5 kB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.008601, allocations: 20 kB / 0.8831 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.008852, allocations: 159.6 kB / 0.8833 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.008967, allocations: 108.4 kB / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.943e-05/0.009067, allocations: 91.8 kB / 0.8834 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.009475, allocations: 299.5 kB / 0.8837 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.009478, allocations: 1.375 kB / 0.8837 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.51e-07/0.009479, allocations: 0 / 0.8837 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.009484, allocations: 0 / 0.8837 GB, free: 0.6328 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000761/0.01025, allocations: 0.5668 MB / 0.8843 GB, free: 32 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.01028, allocations: 12.75 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000646/0.01093, allocations: 137.6 kB / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.0112, allocations: 205.9 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.01122, allocations: 16.81 kB / 0.8846 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.01131, allocations: 25.88 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.01173, allocations: 303.2 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.01175, allocations: 4.188 kB / 0.885 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.01178, allocations: 19.55 kB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.937e-05/0.01186, allocations: 32.42 kB / 0.885 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.01212, allocations: 130.8 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.01367, allocations: 1.182 MB / 0.8863 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.01397, allocations: 150.3 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.01406, allocations: 51.66 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.652e-05/0.01414, allocations: 12.52 kB / 0.8865 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.01417, allocations: 38.86 kB / 0.8865 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.01417, allocations: 0 / 0.8865 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0008577/0.01503, allocations: 459.3 kB / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.01506, allocations: 51.41 kB / 0.887 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.01523, allocations: 240.5 kB / 0.8872 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01524, allocations: 25.7 kB / 0.8873 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01534, allocations: 219.2 kB / 0.8875 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.01543, allocations: 79.38 kB / 0.8876 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.0155, allocations: 59.34 kB / 0.8876 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.01561, allocations: 0.5001 MB / 0.8881 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.01568, allocations: 47.97 kB / 0.8881 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01578, allocations: 125.7 kB / 0.8883 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.01596, allocations: 178.8 kB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01596, allocations: 7.938 kB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003964/0.01636, allocations: 272.9 kB / 0.8887 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01637, allocations: 6.5 kB / 0.8887 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.01638, allocations: 4 kB / 0.8887 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.01675, allocations: 107.7 kB / 0.8888 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01688, allocations: 59.89 kB / 0.8889 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.01797, allocations: 1.92 MB / 0.8907 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-05/0.01807, allocations: 15.98 kB / 0.8908 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01808, allocations: 8.031 kB / 0.8908 GB, free: 8.965 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/0.01818, allocations: 168.6 kB / 0.8909 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.01821, allocations: 23.84 kB / 0.891 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.01844, allocations: 183.3 kB / 0.8911 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01844, allocations: 4 kB / 0.8911 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01844, allocations: 0 / 0.8911 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01844, allocations: 0 / 0.8911 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.01887, allocations: 0.5317 MB / 0.8917 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01888, allocations: 0 / 0.8917 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.01903, allocations: 59.89 kB / 0.8917 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01904, allocations: 0 / 0.8917 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.01905, allocations: 8 kB / 0.8917 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01905, allocations: 0 / 0.8917 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01906, allocations: 4 kB / 0.8917 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.01934, allocations: 372.5 kB / 0.8921 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.01939, allocations: 35.97 kB / 0.8921 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01941, allocations: 12 kB / 0.8921 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.01949, allocations: 7.984 kB / 0.8921 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.01952, allocations: 19.97 kB / 0.8921 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01953, allocations: 11.94 kB / 0.8922 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.806e-05/0.01961, allocations: 171.1 kB / 0.8923 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01961, allocations: 0 / 0.8923 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002308/0.01984, allocations: 71.94 kB / 0.8924 GB, free: 7.211 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001108/0.01995, allocations: 115.1 kB / 0.8925 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.02037, allocations: 361.1 kB / 0.8928 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02038, allocations: 0 / 0.8928 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.02045, allocations: 75.53 kB / 0.8929 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.02069, allocations: 34.55 kB / 0.893 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.02161, allocations: 0.5369 MB / 0.8935 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.231e-05/0.02167, allocations: 100.3 kB / 0.8936 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.197e-05/0.02176, allocations: 49.91 kB / 0.8936 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.02181, allocations: 16.5 kB / 0.8936 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.02181, allocations: 0 / 0.8936 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of Templates: time 0.00472/0.02653, allocations: 2.924 MB / 0.8965 GB, free: 2.969 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4169065002352]