Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001623/0.001623, allocations: 78.88 kB / 19.76 MB, free: 2.035 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.001843/0.001843, allocations: 156.7 kB / 23.01 MB, free: 4.945 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.481/1.481, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.949/2.949, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002109/0.002109, allocations: 63.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3093/1.423, allocations: 171.9 MB / 1.322 GB, free: 11.69 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01278/1.436, allocations: 6.561 MB / 1.328 GB, free: 6.176 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/1.438, allocations: 71.38 kB / 1.328 GB, free: 6.105 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/1.44, allocations: 0.6791 MB / 1.329 GB, free: 5.422 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007434/1.448, allocations: 2.423 MB / 1.331 GB, free: 2.988 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004405/1.452, allocations: 1.455 MB / 1.333 GB, free: 1.551 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005434/1.457, allocations: 3.01 MB / 1.336 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/1.459, allocations: 0.6855 MB / 1.336 GB, free: 13.84 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004771/1.464, allocations: 1.656 MB / 1.338 GB, free: 12.18 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.466, allocations: 0.7993 MB / 1.339 GB, free: 11.39 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/1.466, allocations: 96 kB / 1.339 GB, free: 11.29 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006504/1.472, allocations: 1.66 MB / 1.34 GB, free: 9.629 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008174/1.473, allocations: 378.7 kB / 1.341 GB, free: 9.258 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/1.474, allocations: 481.7 kB / 1.341 GB, free: 8.785 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005164/1.48, allocations: 2.348 MB / 1.344 GB, free: 6.43 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.48, allocations: 3.984 kB / 1.344 GB, free: 6.426 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.673e-06/1.48, allocations: 0 / 1.344 GB, free: 6.426 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.887e-05/1.48, allocations: 0 / 1.344 GB, free: 6.426 MB / 1.186 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.00383/1.484, allocations: 1.59 MB / 1.345 GB, free: 4.793 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.484, allocations: 12.03 kB / 1.345 GB, free: 4.781 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/1.487, allocations: 0.5455 MB / 1.346 GB, free: 4.234 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/1.489, allocations: 0.9702 MB / 1.347 GB, free: 3.23 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/1.489, allocations: 49.31 kB / 1.347 GB, free: 3.184 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.489, allocations: 75.94 kB / 1.347 GB, free: 3.109 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/1.492, allocations: 1.23 MB / 1.348 GB, free: 1.82 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/1.492, allocations: 7.938 kB / 1.348 GB, free: 1.812 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/1.492, allocations: 27.98 kB / 1.348 GB, free: 1.785 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/1.492, allocations: 41.3 kB / 1.348 GB, free: 1.746 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/1.496, allocations: 1.182 MB / 1.349 GB, free: 0.5586 MB / 1.186 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.006046/1.502, allocations: 2.708 MB / 1.352 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/1.504, allocations: 0.6742 MB / 1.352 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009442/1.505, allocations: 425.6 kB / 1.353 GB, free: 12.68 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005299/1.505, allocations: 132.4 kB / 1.353 GB, free: 12.55 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/1.506, allocations: 0.6437 MB / 1.354 GB, free: 11.86 MB / 1.201 GB Notification: Performance of pre-optimization done (n=57): time 2.355e-06/1.506, allocations: 0 / 1.354 GB, free: 11.86 MB / 1.201 GB Notification: Performance of matching and sorting (n=57): time 0.003256/1.51, allocations: 1.274 MB / 1.355 GB, free: 10.56 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.51, allocations: 140.8 kB / 1.355 GB, free: 10.39 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.512, allocations: 0.8878 MB / 1.356 GB, free: 9.488 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/1.512, allocations: 37.7 kB / 1.356 GB, free: 9.445 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/1.512, allocations: 464.5 kB / 1.356 GB, free: 8.984 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/1.512, allocations: 202.3 kB / 1.357 GB, free: 8.785 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/1.513, allocations: 142.2 kB / 1.357 GB, free: 8.637 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002491/1.513, allocations: 337.9 kB / 1.357 GB, free: 8.301 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.514, allocations: 470.7 kB / 1.357 GB, free: 7.836 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/1.516, allocations: 0.9746 MB / 1.358 GB, free: 6.719 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/1.518, allocations: 0.9334 MB / 1.359 GB, free: 5.73 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.518, allocations: 0 / 1.359 GB, free: 5.73 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003295/1.521, allocations: 1.218 MB / 1.361 GB, free: 4.488 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/1.522, allocations: 37.69 kB / 1.361 GB, free: 4.445 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.522, allocations: 4 kB / 1.361 GB, free: 4.441 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.522, allocations: 11.94 kB / 1.361 GB, free: 4.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/1.523, allocations: 184 kB / 1.361 GB, free: 4.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.523, allocations: 12 kB / 1.361 GB, free: 4.238 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.524, allocations: 215.5 kB / 1.361 GB, free: 4.027 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/1.524, allocations: 35.97 kB / 1.361 GB, free: 3.992 MB / 1.201 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.0005905/1.525, allocations: 331.3 kB / 1.361 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/1.525, allocations: 95.39 kB / 1.361 GB, free: 3.559 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/1.527, allocations: 1.009 MB / 1.362 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.527, allocations: 8 kB / 1.362 GB, free: 2.535 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.527, allocations: 4 kB / 1.362 GB, free: 2.531 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.527, allocations: 11.92 kB / 1.362 GB, free: 2.52 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005519/1.533, allocations: 2.934 MB / 1.365 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.533, allocations: 8 kB / 1.365 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/1.533, allocations: 124 kB / 1.365 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/1.533, allocations: 8 kB / 1.365 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/1.533, allocations: 27.98 kB / 1.365 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/1.533, allocations: 11.94 kB / 1.365 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/1.534, allocations: 11.94 kB / 1.365 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/1.536, allocations: 1.372 MB / 1.367 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/1.537, allocations: 223 kB / 1.367 GB, free: 13.53 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.537, allocations: 24 kB / 1.367 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.538, allocations: 103.9 kB / 1.367 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.538, allocations: 63.61 kB / 1.367 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/1.538, allocations: 43.97 kB / 1.367 GB, free: 13.3 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001378/1.54, allocations: 0.6317 MB / 1.368 GB, free: 12.67 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.54, allocations: 7.938 kB / 1.368 GB, free: 12.66 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001271/1.541, allocations: 327.4 kB / 1.368 GB, free: 12.34 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.000652/1.542, allocations: 327 kB / 1.368 GB, free: 12.02 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002753/1.544, allocations: 1.033 MB / 1.37 GB, free: 10.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.544, allocations: 12.06 kB / 1.37 GB, free: 10.95 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.545, allocations: 0.5024 MB / 1.37 GB, free: 10.43 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/1.547, allocations: 381.9 kB / 1.37 GB, free: 10.07 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/1.552, allocations: 2.056 MB / 1.372 GB, free: 7.883 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/1.552, allocations: 485.6 kB / 1.373 GB, free: 7.371 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009107/1.553, allocations: 236.5 kB / 1.373 GB, free: 7.145 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/1.553, allocations: 68.48 kB / 1.373 GB, free: 7.078 MB / 1.217 GB Notification: Performance of SimCode: time 1.052e-06/1.553, allocations: 0 / 1.373 GB, free: 7.078 MB / 1.217 GB Notification: Performance of Templates: time 0.03405/1.587, allocations: 17.95 MB / 1.391 GB, free: 5.477 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.301638238946907]