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.002597/0.002597, allocations: 81.48 kB / 19.44 MB, free: 348 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.003153/0.003153, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.439/3.439, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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 2.074e-06/2.074e-06, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.335e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.04509/0.04513, allocations: 24.04 MB / 0.9009 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.009344/0.05447, allocations: 5.172 MB / 0.906 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.05547, allocations: 39.69 kB / 0.906 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.0565, allocations: 282 kB / 0.9063 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.05888, allocations: 0.8546 MB / 0.9071 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.06112, allocations: 0.7984 MB / 0.9079 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002507/0.06362, allocations: 1.628 MB / 0.9095 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.06429, allocations: 393.6 kB / 0.9099 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.0665, allocations: 0.9416 MB / 0.9108 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.06722, allocations: 398.7 kB / 0.9112 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.982e-05/0.06732, allocations: 48 kB / 0.9112 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.06836, allocations: 418.9 kB / 0.9116 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.06856, allocations: 155.4 kB / 0.9118 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.06888, allocations: 219.4 kB / 0.912 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.07042, allocations: 0.958 MB / 0.9129 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.07042, allocations: 0 / 0.9129 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.07042, allocations: 0 / 0.9129 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.07043, allocations: 0 / 0.9129 GB, free: 2.25 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.001613/0.07204, allocations: 0.9624 MB / 0.9138 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.07208, allocations: 8.031 kB / 0.9139 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/0.07238, allocations: 104.5 kB / 0.914 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.07347, allocations: 0.5174 MB / 0.9145 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.07351, allocations: 29.38 kB / 0.9145 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.07359, allocations: 44.33 kB / 0.9145 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/0.07446, allocations: 0.5234 MB / 0.915 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.07448, allocations: 0 / 0.915 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.07453, allocations: 15.97 kB / 0.9151 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.07455, allocations: 11.94 kB / 0.9151 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.07511, allocations: 279.8 kB / 0.9153 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.07808, allocations: 1.784 MB / 0.9171 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.07864, allocations: 243.9 kB / 0.9173 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.07883, allocations: 99.64 kB / 0.9174 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/0.07929, allocations: 99.91 kB / 0.9175 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.07933, allocations: 41.39 kB / 0.9175 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.263e-06/0.07934, allocations: 0 / 0.9175 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0007315/0.08007, allocations: 337 kB / 0.9179 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.08011, allocations: 55.41 kB / 0.9179 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.08075, allocations: 0.4987 MB / 0.9184 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.08079, allocations: 33.7 kB / 0.9184 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.08108, allocations: 339.2 kB / 0.9188 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.08119, allocations: 99.19 kB / 0.9189 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.08134, allocations: 87.62 kB / 0.9189 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003367/0.08168, allocations: 0.5508 MB / 0.9195 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.08185, allocations: 84.59 kB / 0.9196 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.08217, allocations: 263.7 kB / 0.9198 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.08265, allocations: 278.2 kB / 0.9201 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.08265, allocations: 4 kB / 0.9201 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006443/0.0833, allocations: 345.6 kB / 0.9204 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.08331, allocations: 8 kB / 0.9204 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.08332, allocations: 0 / 0.9204 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.08334, allocations: 4 kB / 0.9204 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.08362, allocations: 76.12 kB / 0.9205 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.08363, allocations: 11.92 kB / 0.9205 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.08386, allocations: 27.78 kB / 0.9205 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.0839, allocations: 16 kB / 0.9205 GB, free: 10.09 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.0002548/0.08416, allocations: 220.4 kB / 0.9208 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.08428, allocations: 47.77 kB / 0.9208 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/0.0851, allocations: 397.4 kB / 0.9212 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.08511, allocations: 7.984 kB / 0.9212 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.08511, allocations: 0 / 0.9212 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006528/0.08577, allocations: 0.4996 MB / 0.9217 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.08765, allocations: 0.987 MB / 0.9226 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.08766, allocations: 192 / 0.9226 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.08789, allocations: 55.92 kB / 0.9227 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.0879, allocations: 11.94 kB / 0.9227 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.08793, allocations: 15.92 kB / 0.9227 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.08794, allocations: 7.938 kB / 0.9227 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.08794, allocations: 0 / 0.9227 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.08892, allocations: 0.6226 MB / 0.9233 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.08912, allocations: 91.47 kB / 0.9234 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.0892, allocations: 11.94 kB / 0.9234 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.08944, allocations: 11.98 kB / 0.9234 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.0895, allocations: 31.91 kB / 0.9235 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.08954, allocations: 15.98 kB / 0.9235 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003948/0.08993, allocations: 327.1 kB / 0.9238 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.08993, allocations: 4 kB / 0.9238 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000686/0.09062, allocations: 211.4 kB / 0.924 GB, free: 6.344 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.0005666/0.09119, allocations: 278.8 kB / 0.9243 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.09172, allocations: 268.4 kB / 0.9245 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.09172, allocations: 0 / 0.9245 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.09196, allocations: 135.5 kB / 0.9247 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.09325, allocations: 258 kB / 0.9249 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.09505, allocations: 0.9631 MB / 0.9258 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.09536, allocations: 262.2 kB / 0.9261 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003153/0.09568, allocations: 92.25 kB / 0.9262 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.0958, allocations: 52.48 kB / 0.9262 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of SimCode: time 8.32e-07/0.0958, allocations: 0 / 0.9262 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of Templates: time 0.02146/0.1173, allocations: 10.68 MB / 0.9367 GB, free: 9.52 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] 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.97579381603282]