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.0008953/0.0008953, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008253/0.0008253, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8749/0.8749, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.686/1.686, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.108e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6561/0.6561, allocations: 171.6 MB / 1.119 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.6665, allocations: 6.592 MB / 1.126 GB, free: 27.29 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.6679, allocations: 66.88 kB / 1.126 GB, free: 27.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.6699, allocations: 0.6904 MB / 1.127 GB, free: 26.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.6764, allocations: 2.473 MB / 1.129 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.6804, allocations: 1.527 MB / 1.13 GB, free: 24.7 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004599/0.685, allocations: 3.015 MB / 1.133 GB, free: 23.28 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.6862, allocations: 0.6936 MB / 1.134 GB, free: 22.95 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.6894, allocations: 1.495 MB / 1.136 GB, free: 22.29 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.6906, allocations: 0.7411 MB / 1.136 GB, free: 22.04 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.6908, allocations: 98.31 kB / 1.136 GB, free: 22.04 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.6955, allocations: 1.71 MB / 1.138 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.696, allocations: 386 kB / 1.138 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.6964, allocations: 397.8 kB / 1.139 GB, free: 21.06 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.7004, allocations: 2.454 MB / 1.141 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7004, allocations: 0 / 1.141 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7004, allocations: 0 / 1.141 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.7004, allocations: 0 / 1.141 GB, free: 20.21 MB / 0.9948 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.00246/0.7029, allocations: 1.587 MB / 1.143 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.7029, allocations: 14.3 kB / 1.143 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.7046, allocations: 0.5412 MB / 1.143 GB, free: 19.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.7063, allocations: 0.9707 MB / 1.144 GB, free: 18.54 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.7063, allocations: 52.03 kB / 1.144 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.7064, allocations: 66.66 kB / 1.144 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.7083, allocations: 1.24 MB / 1.146 GB, free: 17.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.7084, allocations: 0 / 1.146 GB, free: 17.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.7084, allocations: 27.88 kB / 1.146 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.7085, allocations: 37.94 kB / 1.146 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.7105, allocations: 1.193 MB / 1.147 GB, free: 17.48 MB / 0.9948 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.003747/0.7143, allocations: 2.701 MB / 1.149 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.7155, allocations: 0.6824 MB / 1.15 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.7161, allocations: 430.5 kB / 1.15 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.7164, allocations: 121.3 kB / 1.151 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.7172, allocations: 0.6541 MB / 1.151 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.7172, allocations: 0 / 1.151 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=57): time 0.002065/0.7192, allocations: 1.262 MB / 1.152 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.7193, allocations: 142.5 kB / 1.153 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.7205, allocations: 0.8833 MB / 1.153 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.7206, allocations: 39.25 kB / 1.153 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.7208, allocations: 466.3 kB / 1.154 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.7209, allocations: 191.8 kB / 1.154 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.7211, allocations: 147.3 kB / 1.154 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.7212, allocations: 329.7 kB / 1.155 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/0.7219, allocations: 471 kB / 1.155 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009409/0.7229, allocations: 0.9899 MB / 1.156 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.7242, allocations: 0.929 MB / 1.157 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7242, allocations: 1.406 kB / 1.157 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001914/0.7261, allocations: 1.219 MB / 1.158 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.7261, allocations: 38.23 kB / 1.158 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.7261, allocations: 9.75 kB / 1.158 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.7262, allocations: 5.938 kB / 1.158 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.7267, allocations: 193.4 kB / 1.158 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.7267, allocations: 8.469 kB / 1.158 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.7274, allocations: 212.5 kB / 1.159 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/0.7275, allocations: 36.23 kB / 1.159 GB, free: 11.13 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.0003463/0.7278, allocations: 333.7 kB / 1.159 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.728, allocations: 96.42 kB / 1.159 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.7294, allocations: 1.008 MB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.7294, allocations: 6.062 kB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7295, allocations: 1.25 kB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.7295, allocations: 8.703 kB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.7328, allocations: 2.938 MB / 1.163 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.7328, allocations: 7.562 kB / 1.163 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.7331, allocations: 125.3 kB / 1.163 GB, free: 8.789 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/0.7332, allocations: 9.25 kB / 1.163 GB, free: 8.789 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.7332, allocations: 29.12 kB / 1.163 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.7332, allocations: 16 kB / 1.163 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.7332, allocations: 8.844 kB / 1.163 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.7347, allocations: 1.351 MB / 1.164 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.735, allocations: 219 kB / 1.165 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7351, allocations: 30.31 kB / 1.165 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.7356, allocations: 102.2 kB / 1.165 GB, free: 7.766 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.7357, allocations: 61.27 kB / 1.165 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.7358, allocations: 39.7 kB / 1.165 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007945/0.7366, allocations: 0.6413 MB / 1.165 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.7366, allocations: 0 / 1.165 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001141/0.7377, allocations: 326.3 kB / 1.166 GB, free: 7.426 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.0006564/0.7384, allocations: 338 kB / 1.166 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.74, allocations: 1.039 MB / 1.167 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.74, allocations: 1.375 kB / 1.167 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.7406, allocations: 0.511 MB / 1.168 GB, free: 6.594 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.7419, allocations: 382.8 kB / 1.168 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.7446, allocations: 2.07 MB / 1.17 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.745, allocations: 484.8 kB / 1.17 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.7453, allocations: 81.11 kB / 1.17 GB, free: 5.074 MB / 0.9948 GB Notification: Performance of SimCode: time 6.22e-07/0.7453, allocations: 0 / 1.17 GB, free: 5.074 MB / 0.9948 GB Notification: Performance of Templates: time 0.01676/0.762, allocations: 16.82 MB / 1.187 GB, free: 15.2 MB / 1.01 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: 8.297529244795442]