Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001848/0.001848, 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.002276/0.002276, allocations: 210.9 kB / 22.24 MB, free: 5.258 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.812 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.856/2.856, allocations: 476 MB / 0.7699 GB, free: 4.801 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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [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.002199/0.002199, allocations: 64.88 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4216, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2444/0.6661, allocations: 171.9 MB / 1.451 GB, free: 15.47 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.6783, allocations: 6.568 MB / 1.457 GB, free: 8.887 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.6802, allocations: 63.44 kB / 1.457 GB, free: 8.824 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.6823, allocations: 0.6791 MB / 1.458 GB, free: 8.141 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007601/0.6899, allocations: 2.416 MB / 1.46 GB, free: 5.715 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.694, allocations: 1.468 MB / 1.462 GB, free: 4.266 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005179/0.6992, allocations: 3.021 MB / 1.465 GB, free: 1.234 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.7005, allocations: 0.6971 MB / 1.465 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.7038, allocations: 1.18 MB / 1.467 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.7054, allocations: 0.8262 MB / 1.467 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.7056, allocations: 100 kB / 1.467 GB, free: 14.42 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.7095, allocations: 1.687 MB / 1.469 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005063/0.71, allocations: 378.7 kB / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.7107, allocations: 473.7 kB / 1.47 GB, free: 11.9 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004417/0.7151, allocations: 2.344 MB / 1.472 GB, free: 9.547 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.7151, allocations: 3.938 kB / 1.472 GB, free: 9.543 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7151, allocations: 0 / 1.472 GB, free: 9.543 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.7151, allocations: 0 / 1.472 GB, free: 9.543 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003521/0.7186, allocations: 1.602 MB / 1.474 GB, free: 7.898 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.7187, allocations: 12.03 kB / 1.474 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.7216, allocations: 0.5377 MB / 1.474 GB, free: 7.348 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.7241, allocations: 0.9702 MB / 1.475 GB, free: 6.348 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.7241, allocations: 53.31 kB / 1.475 GB, free: 6.297 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.7243, allocations: 71.98 kB / 1.475 GB, free: 6.227 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.7269, allocations: 1.238 MB / 1.477 GB, free: 4.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.7269, allocations: 3.938 kB / 1.477 GB, free: 4.926 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/0.727, allocations: 28 kB / 1.477 GB, free: 4.898 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/0.727, allocations: 29.3 kB / 1.477 GB, free: 4.871 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.7301, allocations: 1.193 MB / 1.478 GB, free: 3.672 MB / 1.17 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.005784/0.7359, allocations: 2.706 MB / 1.48 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.7377, allocations: 0.674 MB / 1.481 GB, free: 220 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008758/0.7385, allocations: 429.7 kB / 1.482 GB, free: 15.79 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.7391, allocations: 136.3 kB / 1.482 GB, free: 15.65 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.7402, allocations: 0.6433 MB / 1.482 GB, free: 14.95 MB / 1.186 GB Notification: Performance of pre-optimization done (n=57): time 3.125e-06/0.7402, allocations: 0 / 1.482 GB, free: 14.95 MB / 1.186 GB Notification: Performance of matching and sorting (n=57): time 0.003171/0.7434, allocations: 1.26 MB / 1.484 GB, free: 13.68 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.7435, allocations: 144.9 kB / 1.484 GB, free: 13.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.7451, allocations: 0.88 MB / 1.485 GB, free: 12.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-05/0.7452, allocations: 37.7 kB / 1.485 GB, free: 12.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.7456, allocations: 468.5 kB / 1.485 GB, free: 12.11 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.7458, allocations: 198.3 kB / 1.485 GB, free: 11.91 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.7461, allocations: 146.2 kB / 1.485 GB, free: 11.76 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7463, allocations: 329.9 kB / 1.486 GB, free: 11.43 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.7475, allocations: 478.7 kB / 1.486 GB, free: 10.96 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.7492, allocations: 0.9784 MB / 1.487 GB, free: 9.836 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.7514, allocations: 0.9335 MB / 1.488 GB, free: 8.848 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7514, allocations: 4 kB / 1.488 GB, free: 8.844 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003185/0.7546, allocations: 1.21 MB / 1.489 GB, free: 7.609 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.7546, allocations: 41.69 kB / 1.489 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7546, allocations: 4 kB / 1.489 GB, free: 7.559 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.7547, allocations: 12.28 kB / 1.489 GB, free: 7.547 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.7556, allocations: 187.7 kB / 1.489 GB, free: 7.363 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.7556, allocations: 7.938 kB / 1.489 GB, free: 7.355 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.757, allocations: 219.3 kB / 1.49 GB, free: 7.141 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.7571, allocations: 39.98 kB / 1.49 GB, free: 7.102 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.000579/0.7576, allocations: 331.3 kB / 1.49 GB, free: 6.762 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.7578, allocations: 95.39 kB / 1.49 GB, free: 6.668 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.7601, allocations: 1.007 MB / 1.491 GB, free: 5.652 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.7601, allocations: 7.984 kB / 1.491 GB, free: 5.645 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7601, allocations: 4 kB / 1.491 GB, free: 5.641 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7601, allocations: 11.94 kB / 1.491 GB, free: 5.629 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/0.7653, allocations: 2.94 MB / 1.494 GB, free: 2.547 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.7653, allocations: 12.12 kB / 1.494 GB, free: 2.535 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.7659, allocations: 115.8 kB / 1.494 GB, free: 2.422 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.7659, allocations: 8 kB / 1.494 GB, free: 2.414 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.7659, allocations: 27.98 kB / 1.494 GB, free: 2.387 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/0.7659, allocations: 8 kB / 1.494 GB, free: 2.379 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/0.766, allocations: 23.92 kB / 1.494 GB, free: 2.355 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.7685, allocations: 1.367 MB / 1.495 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.7691, allocations: 219.1 kB / 1.496 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.7692, allocations: 23.98 kB / 1.496 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7702, allocations: 99.91 kB / 1.496 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.7703, allocations: 67.67 kB / 1.496 GB, free: 468 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.7704, allocations: 39.97 kB / 1.496 GB, free: 428 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001277/0.7717, allocations: 0.6356 MB / 1.497 GB, free: 15.79 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7717, allocations: 0 / 1.497 GB, free: 15.79 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001244/0.7729, allocations: 331.3 kB / 1.497 GB, free: 15.46 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0006653/0.7736, allocations: 339.3 kB / 1.497 GB, free: 15.12 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.7761, allocations: 1.036 MB / 1.498 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7761, allocations: 0 / 1.498 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009773/0.7771, allocations: 0.5141 MB / 1.499 GB, free: 13.54 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.7791, allocations: 373.2 kB / 1.499 GB, free: 13.18 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.7831, allocations: 2.047 MB / 1.501 GB, free: 11 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.7836, allocations: 489.6 kB / 1.502 GB, free: 10.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009473/0.7846, allocations: 233.3 kB / 1.502 GB, free: 10.27 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.7848, allocations: 71.41 kB / 1.502 GB, free: 10.2 MB / 1.201 GB Notification: Performance of SimCode: time 1.653e-06/0.7848, allocations: 0 / 1.502 GB, free: 10.2 MB / 1.201 GB Notification: Performance of Templates: time 0.03641/0.8212, allocations: 19.36 MB / 1.521 GB, free: 7.188 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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: 10.328318564221263]