Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108.9 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 489.3 MB / 0.7687 GB, free: 3.895 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 59.91 kB / 1.103 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9206/0.9226, allocations: 163.8 MB / 1.263 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02511/0.9477, allocations: 23.28 MB / 1.285 GB, free: 7.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008612/0.9564, allocations: 5.094 MB / 1.29 GB, free: 3.758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.9576, allocations: 28.41 kB / 1.29 GB, free: 3.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.9587, allocations: 276.2 kB / 1.291 GB, free: 3.574 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.9613, allocations: 0.7954 MB / 1.291 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.9636, allocations: 0.7543 MB / 1.292 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002554/0.9661, allocations: 1.619 MB / 1.294 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008477/0.967, allocations: 482.7 kB / 1.294 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.9691, allocations: 0.7051 MB / 1.295 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009039/0.97, allocations: 442.4 kB / 1.295 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.9701, allocations: 45.69 kB / 1.295 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.9715, allocations: 496.2 kB / 1.296 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.9717, allocations: 138.7 kB / 1.296 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.9721, allocations: 306.6 kB / 1.296 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.9739, allocations: 0.9328 MB / 1.297 GB, free: 428 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.974, allocations: 1.062 kB / 1.297 GB, free: 428 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.974, allocations: 3.938 kB / 1.297 GB, free: 424 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.974, allocations: 0 / 1.297 GB, free: 424 kB / 1.014 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.00162/0.9756, allocations: 0.9063 MB / 1.298 GB, free: 15.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.9757, allocations: 9.688 kB / 1.298 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.9759, allocations: 72.28 kB / 1.298 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.9771, allocations: 0.565 MB / 1.299 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.9771, allocations: 32.66 kB / 1.299 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.9772, allocations: 50.78 kB / 1.299 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.9781, allocations: 435.8 kB / 1.299 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.9781, allocations: 2.047 kB / 1.299 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.9782, allocations: 19.98 kB / 1.299 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.9782, allocations: 9.312 kB / 1.299 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.9788, allocations: 303.1 kB / 1.299 GB, free: 14.95 MB / 1.029 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.003014/0.9818, allocations: 1.917 MB / 1.301 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.9823, allocations: 273.3 kB / 1.302 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.9825, allocations: 120.4 kB / 1.302 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009608/0.9835, allocations: 0.8474 MB / 1.303 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.9835, allocations: 33.55 kB / 1.303 GB, free: 12.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.9835, allocations: 0 / 1.303 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.0007858/0.9843, allocations: 368.1 kB / 1.303 GB, free: 12.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.9844, allocations: 63.41 kB / 1.303 GB, free: 12.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.9851, allocations: 480 kB / 1.303 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.9852, allocations: 31.92 kB / 1.303 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.9854, allocations: 264 kB / 1.304 GB, free: 11.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.9855, allocations: 103.7 kB / 1.304 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.9857, allocations: 74.45 kB / 1.304 GB, free: 11.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.9859, allocations: 356.5 kB / 1.304 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.986, allocations: 106.1 kB / 1.304 GB, free: 11.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.9863, allocations: 162 kB / 1.304 GB, free: 11.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.9867, allocations: 278.8 kB / 1.305 GB, free: 10.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.9867, allocations: 2.219 kB / 1.305 GB, free: 10.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000626/0.9874, allocations: 364.5 kB / 1.305 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9874, allocations: 6.312 kB / 1.305 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.9874, allocations: 1.469 kB / 1.305 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9874, allocations: 4.906 kB / 1.305 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.9877, allocations: 81.14 kB / 1.305 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.9877, allocations: 4.641 kB / 1.305 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.988, allocations: 39.8 kB / 1.305 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.9881, allocations: 16.81 kB / 1.305 GB, free: 10.76 MB / 1.029 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 0.0002261/0.9883, allocations: 184 kB / 1.305 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.9884, allocations: 52.08 kB / 1.305 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008352/0.9893, allocations: 474.6 kB / 1.306 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.9893, allocations: 12.06 kB / 1.306 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9893, allocations: 2.047 kB / 1.306 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006345/0.99, allocations: 0.5652 MB / 1.306 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.992, allocations: 1.162 MB / 1.308 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.992, allocations: 2.219 kB / 1.308 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.9923, allocations: 55.05 kB / 1.308 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.9923, allocations: 2.531 kB / 1.308 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.9923, allocations: 9.984 kB / 1.308 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.9923, allocations: 3.984 kB / 1.308 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.9923, allocations: 1.125 kB / 1.308 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/0.9933, allocations: 0.6771 MB / 1.308 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.9936, allocations: 172.3 kB / 1.309 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.9936, allocations: 8.969 kB / 1.309 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.9939, allocations: 14.84 kB / 1.309 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.994, allocations: 21.94 kB / 1.309 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.994, allocations: 18.59 kB / 1.309 GB, free: 8.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004604/0.9945, allocations: 346.1 kB / 1.309 GB, free: 8.461 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9945, allocations: 0 / 1.309 GB, free: 8.461 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007469/0.9952, allocations: 198.3 kB / 1.309 GB, free: 8.418 MB / 1.029 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0006675/0.9959, allocations: 309.4 kB / 1.309 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.9965, allocations: 290.3 kB / 1.31 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9965, allocations: 4.062 kB / 1.31 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.9967, allocations: 164.7 kB / 1.31 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.9983, allocations: 338.1 kB / 1.31 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/1, allocations: 1.095 MB / 1.311 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/1.001, allocations: 0.8618 MB / 1.312 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/1.001, allocations: 60.98 kB / 1.312 GB, free: 6.559 MB / 1.029 GB Notification: Performance of SimCode: time 2.31e-07/1.001, allocations: 0 / 1.312 GB, free: 6.559 MB / 1.029 GB Notification: Performance of Templates: time 0.01912/1.02, allocations: 9.92 MB / 1.322 GB, free: 5.348 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.839534007944167]