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.002437/0.002437, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002875/0.002875, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.631/1.631, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.946/2.946, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.452e-06/1.452e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.091e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.03107/0.0311, allocations: 23.99 MB / 0.8098 GB, free: 4.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009035/0.04014, allocations: 5.203 MB / 0.8149 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.04096, allocations: 39.62 kB / 0.8149 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008599/0.04182, allocations: 289.9 kB / 0.8152 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.04399, allocations: 0.8546 MB / 0.8161 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.04599, allocations: 0.8062 MB / 0.8168 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002308/0.0483, allocations: 1.644 MB / 0.8184 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008709/0.04917, allocations: 410.2 kB / 0.8188 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.0516, allocations: 0.8454 MB / 0.8197 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.05244, allocations: 410.7 kB / 0.8201 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.423e-05/0.05253, allocations: 44 kB / 0.8201 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.05367, allocations: 430.9 kB / 0.8205 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.05396, allocations: 159.4 kB / 0.8207 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.05426, allocations: 207.5 kB / 0.8209 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.05586, allocations: 0.9541 MB / 0.8218 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.05587, allocations: 0 / 0.8218 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.213e-06/0.05587, allocations: 3.938 kB / 0.8218 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.515e-06/0.05588, allocations: 0 / 0.8218 GB, free: 8.469 MB / 0.7761 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.001535/0.05741, allocations: 0.9585 MB / 0.8227 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.05745, allocations: 12.03 kB / 0.8227 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.05775, allocations: 108.5 kB / 0.8228 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.05886, allocations: 0.5251 MB / 0.8234 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.05889, allocations: 29.38 kB / 0.8234 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.05897, allocations: 44.36 kB / 0.8234 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.05984, allocations: 0.5195 MB / 0.8239 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.05986, allocations: 3.938 kB / 0.8239 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.0599, allocations: 16 kB / 0.824 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.05993, allocations: 12 kB / 0.824 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.06046, allocations: 275.8 kB / 0.8242 GB, free: 5.867 MB / 0.7761 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.002981/0.06344, allocations: 1.807 MB / 0.826 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.06401, allocations: 235.3 kB / 0.8262 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.0642, allocations: 95.64 kB / 0.8263 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004989/0.0647, allocations: 99.91 kB / 0.8264 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.06474, allocations: 41.33 kB / 0.8264 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.06474, allocations: 0 / 0.8264 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.0007442/0.06548, allocations: 331.4 kB / 0.8268 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.06553, allocations: 55.41 kB / 0.8268 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/0.06617, allocations: 0.4987 MB / 0.8273 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.06621, allocations: 33.7 kB / 0.8273 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.06652, allocations: 339.2 kB / 0.8277 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.06663, allocations: 103.2 kB / 0.8278 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.06678, allocations: 87.62 kB / 0.8278 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003232/0.0671, allocations: 0.5469 MB / 0.8284 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.06727, allocations: 88.61 kB / 0.8285 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.06761, allocations: 275.6 kB / 0.8287 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.06807, allocations: 274.2 kB / 0.829 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.06807, allocations: 3.938 kB / 0.829 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006337/0.0687, allocations: 345.7 kB / 0.8293 GB, free: 428 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.06873, allocations: 8 kB / 0.8293 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.06873, allocations: 0 / 0.8293 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.06875, allocations: 4 kB / 0.8293 GB, free: 416 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.06904, allocations: 75.84 kB / 0.8294 GB, free: 340 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.06905, allocations: 4 kB / 0.8294 GB, free: 336 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.06929, allocations: 31.77 kB / 0.8294 GB, free: 304 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.06933, allocations: 24.22 kB / 0.8295 GB, free: 280 kB / 0.7761 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.0002528/0.06958, allocations: 216.4 kB / 0.8297 GB, free: 52 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.06972, allocations: 55.91 kB / 0.8297 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008226/0.07054, allocations: 388.8 kB / 0.8301 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.07056, allocations: 11.98 kB / 0.8301 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.07056, allocations: 4 kB / 0.8301 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006123/0.07117, allocations: 0.499 MB / 0.8306 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.07311, allocations: 0.9907 MB / 0.8316 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.07312, allocations: 4 kB / 0.8316 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.07336, allocations: 51.97 kB / 0.8316 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.07336, allocations: 3.938 kB / 0.8316 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.0734, allocations: 20.11 kB / 0.8316 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.0734, allocations: 4 kB / 0.8316 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.0734, allocations: 4 kB / 0.8316 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.07434, allocations: 0.616 MB / 0.8322 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.07453, allocations: 87.53 kB / 0.8323 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.0746, allocations: 15.94 kB / 0.8323 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.07483, allocations: 8 kB / 0.8323 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.07489, allocations: 23.95 kB / 0.8324 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.07493, allocations: 15.98 kB / 0.8324 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004083/0.07533, allocations: 335.1 kB / 0.8327 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.2e-07/0.07533, allocations: 4 kB / 0.8327 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006958/0.07603, allocations: 211.4 kB / 0.8329 GB, free: 12.54 MB / 0.7917 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.0005501/0.07658, allocations: 282.7 kB / 0.8332 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.07709, allocations: 267.2 kB / 0.8334 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.0771, allocations: 4.062 kB / 0.8334 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.07735, allocations: 143.2 kB / 0.8336 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.07866, allocations: 253.8 kB / 0.8338 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.08047, allocations: 0.9788 MB / 0.8348 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.08076, allocations: 258.2 kB / 0.835 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000315/0.08108, allocations: 100.2 kB / 0.8351 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.0812, allocations: 44.48 kB / 0.8352 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of SimCode: time 8.71e-07/0.0812, allocations: 0 / 0.8352 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of Templates: time 0.02183/0.103, allocations: 10.83 MB / 0.8457 GB, free: 15.57 MB / 0.8073 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.663766788085923]