Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001494/0.001494, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001605/0.001605, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9224/0.9224, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.758/1.758, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.362e-05, allocations: 3.344 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.006992/0.007006, allocations: 8.643 MB / 0.796 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003944/0.01095, allocations: 3.262 MB / 0.7992 GB, free: 272 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.01134, allocations: 40.62 kB / 0.7992 GB, free: 232 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.01177, allocations: 178.6 kB / 0.7994 GB, free: 52 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009459/0.01271, allocations: 0.67 MB / 0.8001 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.01355, allocations: 0.6473 MB / 0.8007 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.01466, allocations: 1.628 MB / 0.8023 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.01504, allocations: 419.3 kB / 0.8027 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008444/0.01589, allocations: 0.761 MB / 0.8034 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.01626, allocations: 418.7 kB / 0.8038 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.01631, allocations: 44 kB / 0.8039 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.01664, allocations: 259.5 kB / 0.8041 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.01674, allocations: 151.3 kB / 0.8043 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.01688, allocations: 215.5 kB / 0.8045 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.01748, allocations: 0.6237 MB / 0.8051 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01749, allocations: 0 / 0.8051 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.32e-07/0.01749, allocations: 0 / 0.8051 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01749, allocations: 1.125 kB / 0.8051 GB, free: 10.26 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.000776/0.01827, allocations: 0.9014 MB / 0.806 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.0183, allocations: 11.97 kB / 0.806 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.01846, allocations: 105.5 kB / 0.8061 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.01893, allocations: 487.2 kB / 0.8065 GB, free: 8.707 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.01895, allocations: 33.38 kB / 0.8066 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.019, allocations: 40.94 kB / 0.8066 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.01935, allocations: 387.9 kB / 0.807 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01936, allocations: 4.656 kB / 0.807 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.01938, allocations: 16 kB / 0.807 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.0194, allocations: 19.98 kB / 0.807 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.01956, allocations: 130.8 kB / 0.8071 GB, free: 8.043 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.02086, allocations: 1.524 MB / 0.8086 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.02107, allocations: 151.3 kB / 0.8088 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.02113, allocations: 55.66 kB / 0.8088 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.0213, allocations: 79.75 kB / 0.8089 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.02132, allocations: 37.39 kB / 0.8089 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.02132, allocations: 0 / 0.8089 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.0002845/0.0216, allocations: 227 kB / 0.8092 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.02163, allocations: 55.41 kB / 0.8092 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.02198, allocations: 410.4 kB / 0.8096 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.022, allocations: 33.7 kB / 0.8096 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.02213, allocations: 319.2 kB / 0.8099 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.02218, allocations: 103.1 kB / 0.81 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.02226, allocations: 79.59 kB / 0.8101 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.02238, allocations: 0.5312 MB / 0.8106 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.46e-05/0.02242, allocations: 32.62 kB / 0.8107 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.02253, allocations: 215.7 kB / 0.8109 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.02268, allocations: 170.2 kB / 0.811 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.02268, allocations: 3.938 kB / 0.811 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002456/0.02293, allocations: 257.7 kB / 0.8113 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.02294, allocations: 4 kB / 0.8113 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02295, allocations: 4 kB / 0.8113 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.02296, allocations: 0 / 0.8113 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.0231, allocations: 79.89 kB / 0.8114 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.0231, allocations: 3.938 kB / 0.8114 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.0232, allocations: 27.78 kB / 0.8114 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.02322, allocations: 19.98 kB / 0.8114 GB, free: 3.438 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 9.734e-05/0.02332, allocations: 176.7 kB / 0.8116 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.02337, allocations: 55.72 kB / 0.8116 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.02371, allocations: 297.2 kB / 0.8119 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.02372, allocations: 8 kB / 0.8119 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.02372, allocations: 0 / 0.8119 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002139/0.02393, allocations: 416 kB / 0.8123 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.02484, allocations: 0.7691 MB / 0.8131 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02485, allocations: 0 / 0.8131 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.02495, allocations: 47.98 kB / 0.8131 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.02496, allocations: 7.984 kB / 0.8131 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.02497, allocations: 8 kB / 0.8131 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.02498, allocations: 8.125 kB / 0.8131 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.02498, allocations: 7.938 kB / 0.8131 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.02533, allocations: 492.6 kB / 0.8136 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.02542, allocations: 83.59 kB / 0.8137 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.02545, allocations: 8 kB / 0.8137 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.02556, allocations: 8 kB / 0.8137 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.02558, allocations: 23.89 kB / 0.8137 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.0256, allocations: 19.98 kB / 0.8138 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001269/0.02573, allocations: 263 kB / 0.814 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02573, allocations: 0 / 0.814 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003191/0.02605, allocations: 187.5 kB / 0.8142 GB, free: 416 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002299/0.02628, allocations: 202.8 kB / 0.8144 GB, free: 204 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.02646, allocations: 159.4 kB / 0.8145 GB, free: 40 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02647, allocations: 0 / 0.8145 GB, free: 40 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.77e-05/0.02656, allocations: 87.58 kB / 0.8146 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.02717, allocations: 276.2 kB / 0.8149 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.02819, allocations: 0.918 MB / 0.8158 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.02826, allocations: 129.8 kB / 0.8159 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000174/0.02844, allocations: 88.27 kB / 0.816 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.02877, allocations: 281.9 kB / 0.8163 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.02877, allocations: 0 / 0.8163 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.01246/0.04123, allocations: 10.85 MB / 0.8268 GB, free: 3.613 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.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.128753504250199]