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.001632/0.001632, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001764/0.001764, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.729/2.729, allocations: 476.8 MB / 0.7714 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 177] 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.002047/0.002047, allocations: 67.58 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2332/0.5653, allocations: 198.1 MB / 1.478 GB, free: 4.332 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.5768, allocations: 6.975 MB / 1.485 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.5784, allocations: 67.38 kB / 1.485 GB, free: 13.27 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.5802, allocations: 0.7025 MB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00629/0.5865, allocations: 2.486 MB / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.5902, allocations: 1.496 MB / 1.49 GB, free: 8.59 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004889/0.5951, allocations: 3.046 MB / 1.493 GB, free: 5.535 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.5965, allocations: 0.7088 MB / 1.493 GB, free: 4.812 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.5996, allocations: 1.186 MB / 1.494 GB, free: 3.629 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.6017, allocations: 0.8459 MB / 1.495 GB, free: 2.785 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.602, allocations: 100 kB / 1.495 GB, free: 2.688 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004901/0.6069, allocations: 2.202 MB / 1.497 GB, free: 492 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005731/0.6075, allocations: 382.6 kB / 1.498 GB, free: 108 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009064/0.6084, allocations: 0.5871 MB / 1.498 GB, free: 15.51 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.6136, allocations: 2.402 MB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6136, allocations: 0 / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6136, allocations: 3.938 kB / 1.501 GB, free: 13.1 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.6137, allocations: 0 / 1.501 GB, free: 13.1 MB / 1.201 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.00379/0.6175, allocations: 1.6 MB / 1.502 GB, free: 11.46 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6175, allocations: 11.97 kB / 1.502 GB, free: 11.45 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.6204, allocations: 0.5377 MB / 1.503 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.623, allocations: 0.9742 MB / 1.504 GB, free: 9.906 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.623, allocations: 49.31 kB / 1.504 GB, free: 9.859 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.6232, allocations: 71.98 kB / 1.504 GB, free: 9.789 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.6257, allocations: 1.109 MB / 1.505 GB, free: 8.652 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6257, allocations: 3.938 kB / 1.505 GB, free: 8.648 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.6258, allocations: 24 kB / 1.505 GB, free: 8.625 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.6258, allocations: 29.31 kB / 1.505 GB, free: 8.598 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.6288, allocations: 1.168 MB / 1.506 GB, free: 7.43 MB / 1.201 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.006515/0.6353, allocations: 3.128 MB / 1.509 GB, free: 4.223 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.6371, allocations: 0.6528 MB / 1.51 GB, free: 3.562 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.6379, allocations: 388.9 kB / 1.51 GB, free: 3.18 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.6384, allocations: 136.3 kB / 1.51 GB, free: 3.047 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.6395, allocations: 0.5178 MB / 1.511 GB, free: 2.504 MB / 1.201 GB Notification: Performance of pre-optimization done (n=57): time 3.386e-06/0.6395, allocations: 0 / 1.511 GB, free: 2.504 MB / 1.201 GB Notification: Performance of matching and sorting (n=57): time 0.003259/0.6428, allocations: 1.218 MB / 1.512 GB, free: 1.277 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.6429, allocations: 152.8 kB / 1.512 GB, free: 1.098 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.645, allocations: 1.176 MB / 1.513 GB, free: 15.9 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.6451, allocations: 37.7 kB / 1.513 GB, free: 15.86 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.6455, allocations: 437.9 kB / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.6458, allocations: 202.2 kB / 1.514 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.646, allocations: 150.2 kB / 1.514 GB, free: 15.08 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6462, allocations: 330 kB / 1.514 GB, free: 14.75 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.6474, allocations: 441 kB / 1.515 GB, free: 14.32 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.6488, allocations: 0.5941 MB / 1.515 GB, free: 13.67 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.6509, allocations: 0.9335 MB / 1.516 GB, free: 12.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6509, allocations: 0 / 1.516 GB, free: 12.68 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003158/0.654, allocations: 1.201 MB / 1.518 GB, free: 11.47 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.6541, allocations: 37.69 kB / 1.518 GB, free: 11.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6541, allocations: 4 kB / 1.518 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.6541, allocations: 8 kB / 1.518 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/0.6551, allocations: 188 kB / 1.518 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.6551, allocations: 11.94 kB / 1.518 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.6566, allocations: 249.6 kB / 1.518 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.6567, allocations: 35.92 kB / 1.518 GB, free: 10.94 MB / 1.217 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.0005478/0.6573, allocations: 327.3 kB / 1.518 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.6575, allocations: 119.2 kB / 1.518 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.6597, allocations: 0.9978 MB / 1.519 GB, free: 9.484 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.6597, allocations: 12 kB / 1.519 GB, free: 9.473 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.6597, allocations: 3.938 kB / 1.519 GB, free: 9.469 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.6597, allocations: 7.984 kB / 1.519 GB, free: 9.461 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.6649, allocations: 3.137 MB / 1.523 GB, free: 6.176 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6649, allocations: 8 kB / 1.523 GB, free: 6.168 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.6655, allocations: 124 kB / 1.523 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.6655, allocations: 8 kB / 1.523 GB, free: 6.039 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.6656, allocations: 27.98 kB / 1.523 GB, free: 6.012 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.6656, allocations: 15.92 kB / 1.523 GB, free: 5.996 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.6656, allocations: 8 kB / 1.523 GB, free: 5.988 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.6679, allocations: 1.358 MB / 1.524 GB, free: 4.508 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/0.6685, allocations: 262.8 kB / 1.524 GB, free: 4.25 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.6687, allocations: 24 kB / 1.524 GB, free: 4.227 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.6698, allocations: 103.9 kB / 1.524 GB, free: 4.125 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6699, allocations: 63.69 kB / 1.524 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.6699, allocations: 39.97 kB / 1.525 GB, free: 4.023 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001499/0.6714, allocations: 0.8481 MB / 1.525 GB, free: 3.168 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6714, allocations: 0 / 1.525 GB, free: 3.168 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001043/0.6725, allocations: 303.6 kB / 1.526 GB, free: 2.871 MB / 1.217 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.0005936/0.6731, allocations: 332.3 kB / 1.526 GB, free: 2.543 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002385/0.6755, allocations: 0.9782 MB / 1.527 GB, free: 1.555 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6755, allocations: 4.125 kB / 1.527 GB, free: 1.551 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.6764, allocations: 480.7 kB / 1.527 GB, free: 1.07 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.679, allocations: 0.5481 MB / 1.528 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.6828, allocations: 2.107 MB / 1.53 GB, free: 14.29 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.6836, allocations: 1.069 MB / 1.531 GB, free: 13.19 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.684, allocations: 87.41 kB / 1.531 GB, free: 13.11 MB / 1.232 GB Notification: Performance of SimCode: time 9.92e-07/0.684, allocations: 0 / 1.531 GB, free: 13.11 MB / 1.232 GB Notification: Performance of Templates: time 0.02849/0.7125, allocations: 18.85 MB / 1.549 GB, free: 10.39 MB / 1.248 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/jenkins1/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: 14.117036476003705]