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.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.001869/0.001869, allocations: 88.72 kB / 19.44 MB, free: 356 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.002471/0.002471, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.277/3.277, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 1.644e-06/1.644e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.941e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02957/0.0296, allocations: 21.48 MB / 0.8986 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00879/0.03839, allocations: 4.729 MB / 0.9032 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.03905, allocations: 39.62 kB / 0.9032 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.03989, allocations: 282 kB / 0.9035 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.04202, allocations: 0.8506 MB / 0.9043 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.04395, allocations: 0.8062 MB / 0.9051 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.04609, allocations: 1.623 MB / 0.9067 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006078/0.0467, allocations: 401.5 kB / 0.9071 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.04873, allocations: 0.9346 MB / 0.908 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.04934, allocations: 402.7 kB / 0.9084 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.04943, allocations: 44 kB / 0.9084 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.05031, allocations: 418.9 kB / 0.9088 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.0505, allocations: 159.4 kB / 0.909 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.05078, allocations: 219.5 kB / 0.9092 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.05216, allocations: 0.9502 MB / 0.9101 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.05217, allocations: 0 / 0.9101 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.05217, allocations: 0 / 0.9101 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.05218, allocations: 0 / 0.9101 GB, free: 5.113 MB / 0.8698 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.001447/0.05362, allocations: 0.8198 MB / 0.9109 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.05366, allocations: 12.03 kB / 0.9109 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.05397, allocations: 104.5 kB / 0.911 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.05505, allocations: 0.5264 MB / 0.9116 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.05509, allocations: 29.38 kB / 0.9116 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.05518, allocations: 44.33 kB / 0.9116 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008352/0.05601, allocations: 0.5095 MB / 0.9121 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.05603, allocations: 0 / 0.9121 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.05607, allocations: 16 kB / 0.9121 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.0561, allocations: 11.98 kB / 0.9121 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.05666, allocations: 299.8 kB / 0.9124 GB, free: 2.656 MB / 0.8698 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.002663/0.05933, allocations: 1.463 MB / 0.9139 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.05989, allocations: 238.8 kB / 0.9141 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.0601, allocations: 116.8 kB / 0.9142 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.06062, allocations: 111.9 kB / 0.9143 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.06066, allocations: 38.56 kB / 0.9143 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.06066, allocations: 0 / 0.9143 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0007609/0.06142, allocations: 369.3 kB / 0.9147 GB, free: 268 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.06147, allocations: 55.41 kB / 0.9147 GB, free: 200 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.06198, allocations: 401.9 kB / 0.9151 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.06202, allocations: 33.7 kB / 0.9152 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.06225, allocations: 272.4 kB / 0.9154 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.0624, allocations: 95.12 kB / 0.9155 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.06252, allocations: 74.02 kB / 0.9156 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.06271, allocations: 350.7 kB / 0.9159 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.06289, allocations: 104.5 kB / 0.916 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.0632, allocations: 249.2 kB / 0.9163 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.06365, allocations: 284 kB / 0.9165 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.06365, allocations: 4 kB / 0.9165 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006421/0.06429, allocations: 365.1 kB / 0.9169 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.06431, allocations: 11.98 kB / 0.9169 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.06432, allocations: 0 / 0.9169 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.06434, allocations: 4 kB / 0.9169 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.06462, allocations: 71.91 kB / 0.917 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.06463, allocations: 4.219 kB / 0.917 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.06486, allocations: 31.83 kB / 0.917 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.06491, allocations: 19.98 kB / 0.917 GB, free: 13.77 MB / 0.8855 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.0002203/0.06513, allocations: 181.6 kB / 0.9172 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.06525, allocations: 55.72 kB / 0.9172 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008749/0.06612, allocations: 472.7 kB / 0.9177 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.06614, allocations: 7.984 kB / 0.9177 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.06615, allocations: 4 kB / 0.9177 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007059/0.06685, allocations: 0.5702 MB / 0.9183 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.06874, allocations: 0.9514 MB / 0.9192 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.06875, allocations: 0 / 0.9192 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.06898, allocations: 56.09 kB / 0.9192 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.06899, allocations: 8 kB / 0.9193 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.06901, allocations: 11.98 kB / 0.9193 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.06902, allocations: 8 kB / 0.9193 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.06903, allocations: 3.984 kB / 0.9193 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.07005, allocations: 0.6806 MB / 0.9199 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.07025, allocations: 83.64 kB / 0.92 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.07031, allocations: 11.94 kB / 0.92 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.07056, allocations: 12 kB / 0.92 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.07061, allocations: 23.95 kB / 0.9201 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.07065, allocations: 23.98 kB / 0.9201 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003611/0.07101, allocations: 275.1 kB / 0.9204 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.07101, allocations: 0 / 0.9204 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000682/0.07169, allocations: 215.4 kB / 0.9206 GB, free: 9.973 MB / 0.8855 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.0005469/0.07224, allocations: 274.6 kB / 0.9208 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005169/0.07276, allocations: 291.9 kB / 0.9211 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.07276, allocations: 0 / 0.9211 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.07302, allocations: 156.9 kB / 0.9212 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.07427, allocations: 262.9 kB / 0.9215 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.07593, allocations: 0.9857 MB / 0.9225 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.07622, allocations: 254.2 kB / 0.9227 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003/0.07652, allocations: 108.1 kB / 0.9228 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.07665, allocations: 60.47 kB / 0.9229 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.07665, allocations: 0 / 0.9229 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of Templates: time 0.02043/0.09708, allocations: 10.66 MB / 0.9333 GB, free: 13.09 MB / 0.9011 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.731688863015734]