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.002345/0.002345, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002028/0.002028, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.086/3.086, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.642e-05, allocations: 10.19 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2916/0.2916, allocations: 191.1 MB / 0.9975 GB, free: 2.348 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.3052, allocations: 7.073 MB / 1.004 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.3072, allocations: 63.44 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.3095, allocations: 0.7022 MB / 1.005 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.3171, allocations: 2.468 MB / 1.008 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004164/0.3213, allocations: 1.506 MB / 1.009 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005508/0.3268, allocations: 3.009 MB / 1.012 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.3286, allocations: 0.7288 MB / 1.013 GB, free: 2.746 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005794/0.3344, allocations: 1.983 MB / 1.015 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.3364, allocations: 0.7268 MB / 1.015 GB, free: 64 kB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.3368, allocations: 104 kB / 1.015 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004286/0.341, allocations: 1.683 MB / 1.017 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005869/0.3416, allocations: 394.7 kB / 1.017 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008711/0.3425, allocations: 403 kB / 1.018 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.3493, allocations: 2.45 MB / 1.02 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.3493, allocations: 0 / 1.02 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3493, allocations: 0 / 1.02 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.834e-05/0.3494, allocations: 0 / 1.02 GB, free: 11.04 MB / 0.9792 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.005483/0.3549, allocations: 1.772 MB / 1.022 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3549, allocations: 8.031 kB / 1.022 GB, free: 9.203 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.3577, allocations: 0.5025 MB / 1.022 GB, free: 8.699 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.3604, allocations: 1.012 MB / 1.023 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.519e-05/0.3605, allocations: 61.28 kB / 1.023 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3606, allocations: 72 kB / 1.024 GB, free: 7.531 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.3632, allocations: 1.082 MB / 1.025 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3632, allocations: 0 / 1.025 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.3633, allocations: 31.98 kB / 1.025 GB, free: 6.348 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.3633, allocations: 29.25 kB / 1.025 GB, free: 6.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.3658, allocations: 0.8461 MB / 1.025 GB, free: 5.469 MB / 0.9792 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.006794/0.3726, allocations: 3.177 MB / 1.029 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3741, allocations: 0.4958 MB / 1.029 GB, free: 1.703 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/0.3748, allocations: 270.8 kB / 1.029 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.3753, allocations: 144.3 kB / 1.029 GB, free: 1.289 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.3764, allocations: 0.5639 MB / 1.03 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=57): time 2.324e-06/0.3764, allocations: 0 / 1.03 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57): time 0.00275/0.3792, allocations: 0.9064 MB / 1.031 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.3793, allocations: 148.8 kB / 1.031 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.3811, allocations: 1.054 MB / 1.032 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.3812, allocations: 45.69 kB / 1.032 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/0.3818, allocations: 0.5462 MB / 1.033 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.3821, allocations: 210.3 kB / 1.033 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.3824, allocations: 179.8 kB / 1.033 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003248/0.3828, allocations: 0.5199 MB / 1.034 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/0.3837, allocations: 306.9 kB / 1.034 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.3853, allocations: 0.8666 MB / 1.035 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.387, allocations: 0.695 MB / 1.035 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.387, allocations: 4 kB / 1.035 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00268/0.3897, allocations: 0.9179 MB / 1.036 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.3898, allocations: 38.78 kB / 1.036 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.3898, allocations: 4.281 kB / 1.036 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.3898, allocations: 8 kB / 1.036 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.3906, allocations: 155.8 kB / 1.036 GB, free: 9.723 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.3907, allocations: 11.92 kB / 1.036 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.3918, allocations: 147.6 kB / 1.037 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/0.3919, allocations: 39.91 kB / 1.037 GB, free: 9.527 MB / 0.9948 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.0006138/0.3925, allocations: 322.1 kB / 1.037 GB, free: 9.195 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.3928, allocations: 115.4 kB / 1.037 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.3947, allocations: 0.7488 MB / 1.038 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.3947, allocations: 8 kB / 1.038 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3947, allocations: 0 / 1.038 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3947, allocations: 3.984 kB / 1.038 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.3999, allocations: 2.59 MB / 1.04 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.3999, allocations: 8 kB / 1.04 GB, free: 5.523 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.4005, allocations: 107.8 kB / 1.04 GB, free: 5.418 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/0.4005, allocations: 12 kB / 1.04 GB, free: 5.406 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.4005, allocations: 27.92 kB / 1.04 GB, free: 5.379 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.4006, allocations: 24.14 kB / 1.04 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.4006, allocations: 8 kB / 1.04 GB, free: 5.348 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.4031, allocations: 1.279 MB / 1.042 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.4037, allocations: 223.1 kB / 1.042 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.4039, allocations: 23.92 kB / 1.042 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008889/0.4048, allocations: 63.95 kB / 1.042 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4049, allocations: 67.72 kB / 1.042 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.405, allocations: 43.97 kB / 1.042 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001324/0.4063, allocations: 0.6824 MB / 1.043 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4063, allocations: 0 / 1.043 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001316/0.4076, allocations: 331.3 kB / 1.043 GB, free: 2.492 MB / 0.9948 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.0007582/0.4084, allocations: 341.8 kB / 1.043 GB, free: 2.152 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.4106, allocations: 0.7915 MB / 1.044 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.4106, allocations: 0 / 1.044 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.4115, allocations: 418.5 kB / 1.045 GB, free: 0.9102 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.414, allocations: 415.2 kB / 1.045 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3952/0.8092, allocations: 1.956 MB / 1.047 GB, free: 275.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.8095, allocations: 471.1 kB / 1.047 GB, free: 275.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008682/0.8104, allocations: 209.1 kB / 1.048 GB, free: 275.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.8106, allocations: 69.97 kB / 1.048 GB, free: 275.5 MB / 0.9948 GB Notification: Performance of SimCode: time 2.014e-06/0.8106, allocations: 2.906 kB / 1.048 GB, free: 275.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.02615/0.8368, allocations: 18.09 MB / 1.065 GB, free: 273.7 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] 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/jenkins/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.683837286080234]