Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001273/0.001273, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001322/0.001322, allocations: 161 kB / 23.82 MB, free: 0.75 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.9994/0.9994, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.712/1.712, allocations: 359 MB / 0.6052 GB, free: 11.02 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.538e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009732/0.009747, allocations: 13.22 MB / 0.8 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007028/0.01678, allocations: 5.394 MB / 0.8053 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008689/0.01764, allocations: 79.31 kB / 0.8054 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.0183, allocations: 365.2 kB / 0.8057 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.02017, allocations: 1.356 MB / 0.807 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.02168, allocations: 1.111 MB / 0.8081 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.02453, allocations: 3.389 MB / 0.8114 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009219/0.02545, allocations: 0.8344 MB / 0.8122 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.02733, allocations: 1.608 MB / 0.8138 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008181/0.02814, allocations: 0.8138 MB / 0.8146 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.02826, allocations: 100 kB / 0.8147 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006871/0.02895, allocations: 295.4 kB / 0.815 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.02913, allocations: 302.8 kB / 0.8153 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.02946, allocations: 435 kB / 0.8157 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009508/0.03042, allocations: 1.047 MB / 0.8167 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.03042, allocations: 0 / 0.8167 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.03042, allocations: 4 kB / 0.8167 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.03043, allocations: 0 / 0.8167 GB, free: 14.12 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001357/0.03179, allocations: 1.499 MB / 0.8182 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.03182, allocations: 8.031 kB / 0.8182 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.03209, allocations: 211.9 kB / 0.8184 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.03297, allocations: 0.9646 MB / 0.8193 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.03301, allocations: 58.36 kB / 0.8194 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.03308, allocations: 79.94 kB / 0.8195 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.03381, allocations: 0.7363 MB / 0.8202 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.03383, allocations: 7.984 kB / 0.8202 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.03388, allocations: 32 kB / 0.8202 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.03391, allocations: 16 kB / 0.8202 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.0343, allocations: 251.6 kB / 0.8205 GB, free: 10.11 MB / 0.7761 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.00229/0.03659, allocations: 2.923 MB / 0.8233 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.03685, allocations: 150.9 kB / 0.8235 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.03695, allocations: 75.66 kB / 0.8235 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.943e-05/0.03705, allocations: 31.97 kB / 0.8236 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.03708, allocations: 41.39 kB / 0.8236 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.03708, allocations: 3.984 kB / 0.8236 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31): time 0.0004306/0.03751, allocations: 302.3 kB / 0.8239 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.03754, allocations: 55.41 kB / 0.824 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.03811, allocations: 0.7492 MB / 0.8247 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.03814, allocations: 33.7 kB / 0.8247 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.03854, allocations: 0.5611 MB / 0.8253 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.0386, allocations: 127 kB / 0.8254 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.03871, allocations: 123.9 kB / 0.8255 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.03882, allocations: 0.4926 MB / 0.826 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.03892, allocations: 61.27 kB / 0.8261 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.0392, allocations: 476.8 kB / 0.8265 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.03952, allocations: 392.2 kB / 0.8269 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.03953, allocations: 8.062 kB / 0.8269 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004551/0.03998, allocations: 444.7 kB / 0.8273 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.04, allocations: 14.33 kB / 0.8273 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.04001, allocations: 4 kB / 0.8273 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.04002, allocations: 8 kB / 0.8273 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.04027, allocations: 115.8 kB / 0.8274 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.04029, allocations: 15.92 kB / 0.8275 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.04051, allocations: 59.94 kB / 0.8275 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.04054, allocations: 31.98 kB / 0.8276 GB, free: 2.422 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0001465/0.04068, allocations: 184.5 kB / 0.8277 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.04077, allocations: 107.3 kB / 0.8278 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.04115, allocations: 304.9 kB / 0.8281 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.04115, allocations: 4 kB / 0.8281 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.04116, allocations: 0 / 0.8281 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004767/0.04163, allocations: 287.1 kB / 0.8284 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.0426, allocations: 1.04 MB / 0.8294 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.0426, allocations: 0 / 0.8294 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.04278, allocations: 71.95 kB / 0.8295 GB, free: 348 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.04278, allocations: 3.938 kB / 0.8295 GB, free: 344 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.0428, allocations: 8 kB / 0.8295 GB, free: 336 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.0428, allocations: 4 kB / 0.8295 GB, free: 332 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.0428, allocations: 4 kB / 0.8295 GB, free: 328 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.04328, allocations: 0.5428 MB / 0.83 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.04343, allocations: 147.3 kB / 0.8302 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.04348, allocations: 12 kB / 0.8302 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.04368, allocations: 15.98 kB / 0.8302 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.04373, allocations: 31.89 kB / 0.8302 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.04376, allocations: 19.98 kB / 0.8302 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003671/0.04412, allocations: 478.9 kB / 0.8307 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04413, allocations: 3.938 kB / 0.8307 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004896/0.04461, allocations: 279.4 kB / 0.831 GB, free: 14.77 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002653/0.04488, allocations: 186.9 kB / 0.8312 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.04522, allocations: 249.4 kB / 0.8314 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.04522, allocations: 0 / 0.8314 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.04535, allocations: 111.5 kB / 0.8315 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.04645, allocations: 0.4979 MB / 0.832 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.04812, allocations: 1.465 MB / 0.8334 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.04824, allocations: 195.2 kB / 0.8336 GB, free: 12 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003065/0.04855, allocations: 157.3 kB / 0.8338 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.04865, allocations: 72.48 kB / 0.8338 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of SimCode: time 9.52e-07/0.04865, allocations: 0 / 0.8338 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of Templates: time 0.01969/0.06834, allocations: 17.6 MB / 0.851 GB, free: 10.59 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.268707409966737]