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.001665/0.001665, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002399/0.002399, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.981/2.981, allocations: 475.9 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 70.19 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3951, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02829/0.4234, allocations: 21.62 MB / 1.304 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009003/0.4324, allocations: 4.734 MB / 1.309 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.4334, allocations: 39.69 kB / 1.309 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.4345, allocations: 286 kB / 1.309 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.4371, allocations: 0.828 MB / 1.31 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.4394, allocations: 0.7746 MB / 1.311 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.4419, allocations: 1.654 MB / 1.312 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008546/0.4428, allocations: 394.1 kB / 1.313 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.4447, allocations: 0.6382 MB / 1.313 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.4456, allocations: 453.9 kB / 1.314 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.4458, allocations: 48 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.4469, allocations: 419.1 kB / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.4472, allocations: 147.3 kB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.4476, allocations: 262.8 kB / 1.315 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.4494, allocations: 0.9225 MB / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4494, allocations: 0 / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4494, allocations: 4 kB / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.954e-05/0.4494, allocations: 0 / 1.315 GB, free: 10.62 MB / 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.001751/0.4512, allocations: 0.8237 MB / 1.316 GB, free: 9.766 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4512, allocations: 8.031 kB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.4515, allocations: 80.44 kB / 1.316 GB, free: 9.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.4529, allocations: 0.5114 MB / 1.317 GB, free: 9.145 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.4529, allocations: 32.94 kB / 1.317 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.453, allocations: 40 kB / 1.317 GB, free: 9.074 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/0.4539, allocations: 0.5017 MB / 1.317 GB, free: 8.531 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4539, allocations: 0 / 1.317 GB, free: 8.531 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.4539, allocations: 20 kB / 1.317 GB, free: 8.512 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.454, allocations: 15.98 kB / 1.317 GB, free: 8.496 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.4546, allocations: 299.8 kB / 1.318 GB, free: 8.207 MB / 1.014 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.002937/0.4575, allocations: 1.447 MB / 1.319 GB, free: 6.707 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.4581, allocations: 250.3 kB / 1.319 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.4583, allocations: 112.8 kB / 1.319 GB, free: 6.344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.4588, allocations: 103.9 kB / 1.32 GB, free: 6.242 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4588, allocations: 38.56 kB / 1.32 GB, free: 6.195 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.4588, allocations: 4 kB / 1.32 GB, free: 6.191 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0007822/0.4596, allocations: 362.9 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.4597, allocations: 55.41 kB / 1.32 GB, free: 5.766 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.4602, allocations: 405.8 kB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.4602, allocations: 29.7 kB / 1.32 GB, free: 5.328 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.4605, allocations: 280.5 kB / 1.321 GB, free: 5.047 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4606, allocations: 95.17 kB / 1.321 GB, free: 4.953 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.4607, allocations: 77.97 kB / 1.321 GB, free: 4.871 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.4609, allocations: 346.8 kB / 1.321 GB, free: 4.523 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.4611, allocations: 104.6 kB / 1.321 GB, free: 4.422 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.4614, allocations: 249.2 kB / 1.322 GB, free: 4.137 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.4619, allocations: 288.2 kB / 1.322 GB, free: 3.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4619, allocations: 0 / 1.322 GB, free: 3.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006657/0.4625, allocations: 357.2 kB / 1.322 GB, free: 3.477 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4625, allocations: 4 kB / 1.322 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4626, allocations: 4 kB / 1.322 GB, free: 3.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.4626, allocations: 4 kB / 1.322 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.4629, allocations: 75.83 kB / 1.322 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.4629, allocations: 7.938 kB / 1.322 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.4631, allocations: 35.73 kB / 1.322 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.4632, allocations: 16.2 kB / 1.322 GB, free: 3.332 MB / 1.014 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.0002379/0.4634, allocations: 181.8 kB / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4635, allocations: 39.77 kB / 1.322 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/0.4644, allocations: 478.2 kB / 1.323 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.4644, allocations: 15.98 kB / 1.323 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4644, allocations: 3.938 kB / 1.323 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006826/0.4651, allocations: 0.5762 MB / 1.324 GB, free: 1.969 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.467, allocations: 0.9407 MB / 1.324 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.467, allocations: 7.938 kB / 1.324 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.4672, allocations: 52.11 kB / 1.324 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.4672, allocations: 4 kB / 1.324 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4672, allocations: 11.98 kB / 1.325 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4672, allocations: 4 kB / 1.325 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4673, allocations: 4 kB / 1.325 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4683, allocations: 0.6758 MB / 1.325 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.4685, allocations: 91.58 kB / 1.325 GB, free: 92 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.4686, allocations: 12 kB / 1.325 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.4688, allocations: 11.94 kB / 1.325 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.4689, allocations: 32.03 kB / 1.325 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.4689, allocations: 19.98 kB / 1.325 GB, free: 16 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003858/0.4693, allocations: 271.2 kB / 1.326 GB, free: 15.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4693, allocations: 4 kB / 1.326 GB, free: 15.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007273/0.47, allocations: 215.4 kB / 1.326 GB, free: 15.54 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.0005868/0.4706, allocations: 278.6 kB / 1.326 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005843/0.4712, allocations: 287.2 kB / 1.326 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4712, allocations: 4 kB / 1.326 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.4715, allocations: 155.8 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.4728, allocations: 254.3 kB / 1.327 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.4747, allocations: 1.068 MB / 1.328 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4751, allocations: 266.2 kB / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.4755, allocations: 112.1 kB / 1.328 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4756, allocations: 47.42 kB / 1.328 GB, free: 13.03 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4756, allocations: 0 / 1.328 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Templates: time 0.02335/0.4989, allocations: 11.55 MB / 1.339 GB, free: 1.73 MB / 1.029 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] 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: 9.872262785211205]