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.001631/0.001631, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002026/0.002026, allocations: 213.7 kB / 23 MB, free: 4.969 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.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 3.134/3.134, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.002069/0.002069, allocations: 72.91 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3034, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.215/0.5184, allocations: 171.9 MB / 1.495 GB, free: 4.406 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.5294, allocations: 6.557 MB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009202/0.5303, allocations: 67.38 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.532, allocations: 0.6909 MB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005803/0.5378, allocations: 2.42 MB / 1.505 GB, free: 10.65 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.5412, allocations: 1.466 MB / 1.506 GB, free: 9.199 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.5452, allocations: 3.037 MB / 1.509 GB, free: 6.152 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.5462, allocations: 0.7049 MB / 1.51 GB, free: 5.434 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.5498, allocations: 1.634 MB / 1.511 GB, free: 3.801 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.5511, allocations: 0.8409 MB / 1.512 GB, free: 2.961 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.5513, allocations: 96 kB / 1.512 GB, free: 2.867 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.5544, allocations: 1.687 MB / 1.514 GB, free: 1.176 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.5548, allocations: 382.6 kB / 1.514 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.5554, allocations: 481.8 kB / 1.515 GB, free: 336 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.5586, allocations: 2.344 MB / 1.517 GB, free: 13.98 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5586, allocations: 0 / 1.517 GB, free: 13.98 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5586, allocations: 0 / 1.517 GB, free: 13.98 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.5586, allocations: 0 / 1.517 GB, free: 13.98 MB / 1.217 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.003672/0.5623, allocations: 1.602 MB / 1.518 GB, free: 12.33 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5623, allocations: 8.031 kB / 1.518 GB, free: 12.32 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.5656, allocations: 0.5377 MB / 1.519 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.5681, allocations: 0.9664 MB / 1.52 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.5682, allocations: 53.31 kB / 1.52 GB, free: 10.73 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.5683, allocations: 68 kB / 1.52 GB, free: 10.67 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.5711, allocations: 1.238 MB / 1.521 GB, free: 9.371 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.5711, allocations: 7.938 kB / 1.521 GB, free: 9.363 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.5712, allocations: 28 kB / 1.521 GB, free: 9.336 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.5713, allocations: 33.3 kB / 1.521 GB, free: 9.305 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.5746, allocations: 1.193 MB / 1.522 GB, free: 8.105 MB / 1.217 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.006074/0.5806, allocations: 2.713 MB / 1.525 GB, free: 5.336 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.5825, allocations: 0.6779 MB / 1.526 GB, free: 4.641 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008636/0.5834, allocations: 423.7 kB / 1.526 GB, free: 4.223 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/0.5839, allocations: 128.4 kB / 1.526 GB, free: 4.098 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.5851, allocations: 0.6511 MB / 1.527 GB, free: 3.391 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 2.515e-06/0.5851, allocations: 0 / 1.527 GB, free: 3.391 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003221/0.5883, allocations: 1.264 MB / 1.528 GB, free: 2.105 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.5884, allocations: 140.9 kB / 1.528 GB, free: 1.938 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.59, allocations: 0.88 MB / 1.529 GB, free: 1.043 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.57e-05/0.5901, allocations: 45.7 kB / 1.529 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.5905, allocations: 464.5 kB / 1.53 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.5907, allocations: 190.4 kB / 1.53 GB, free: 352 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.591, allocations: 146.2 kB / 1.53 GB, free: 196 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5912, allocations: 333.9 kB / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.5925, allocations: 470.7 kB / 1.531 GB, free: 15.39 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.5942, allocations: 0.9784 MB / 1.532 GB, free: 14.27 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.5964, allocations: 0.9332 MB / 1.533 GB, free: 13.28 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5964, allocations: 0 / 1.533 GB, free: 13.28 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003224/0.5997, allocations: 1.218 MB / 1.534 GB, free: 12.04 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/0.5997, allocations: 47.72 kB / 1.534 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5997, allocations: 0 / 1.534 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.5998, allocations: 8 kB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6008, allocations: 187.9 kB / 1.534 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.6008, allocations: 7.938 kB / 1.534 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.6023, allocations: 219.4 kB / 1.534 GB, free: 11.58 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.6024, allocations: 43.91 kB / 1.534 GB, free: 11.54 MB / 1.232 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.000516/0.6029, allocations: 333.4 kB / 1.535 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.6031, allocations: 95.39 kB / 1.535 GB, free: 11.1 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.6054, allocations: 1.019 MB / 1.536 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6054, allocations: 3.984 kB / 1.536 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6054, allocations: 0 / 1.536 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/0.6059, allocations: 211.1 kB / 1.536 GB, free: 9.863 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.6061, allocations: 15.94 kB / 1.536 GB, free: 9.848 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/0.6071, allocations: 103.9 kB / 1.536 GB, free: 9.746 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.6072, allocations: 32.38 kB / 1.536 GB, free: 9.715 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002576/0.6097, allocations: 1.244 MB / 1.537 GB, free: 8.434 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002306/0.612, allocations: 1.313 MB / 1.539 GB, free: 7.09 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008672/0.6129, allocations: 409.2 kB / 1.539 GB, free: 6.684 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001254/0.6142, allocations: 0.6395 MB / 1.54 GB, free: 6.047 MB / 1.232 GB Notification: Performance of Backend: time 2.6e-07/0.6142, allocations: 0 / 1.54 GB, free: 6.047 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003498/0.6177, allocations: 1.161 MB / 1.541 GB, free: 4.871 MB / 1.232 GB Notification: Performance of SimCode: time 0.003434/0.6211, allocations: 2.118 MB / 1.543 GB, free: 2.688 MB / 1.232 GB Notification: Performance of Templates: time 0.04111/0.6622, allocations: 24.48 MB / 1.567 GB, free: 10.5 MB / 1.264 GB " [Timeout remaining time 299] 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 -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: 9.514533829002175]