Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 176.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009236, allocations: 90.98 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.585e-05/1.586e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2774, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.342/5.619, allocations: 1.928 GB / 3.134 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/5.619, allocations: 93.83 kB / 3.134 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.785/10.4, allocations: 1.297 GB / 4.431 GB, free: 185.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.883e-06/10.4, allocations: 0 / 4.431 GB, free: 185.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002331/10.4, allocations: 44.78 kB / 4.431 GB, free: 185.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006209/10.41, allocations: 2.097 MB / 4.433 GB, free: 185.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/10.41, allocations: 14.62 kB / 4.434 GB, free: 185.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/10.42, allocations: 496.8 kB / 4.434 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/10.42, allocations: 1.737 MB / 4.436 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/10.42, allocations: 45.16 kB / 4.436 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/10.42, allocations: 78.06 kB / 4.436 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002244/10.42, allocations: 1.16 MB / 4.437 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/10.43, allocations: 1.268 MB / 4.438 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/10.43, allocations: 10.52 kB / 4.438 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/10.43, allocations: 0 / 4.438 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/10.43, allocations: 47.39 kB / 4.438 GB, free: 184.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.008009/10.43, allocations: 6.931 MB / 4.445 GB, free: 180.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/10.43, allocations: 0.6363 MB / 4.446 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/10.43, allocations: 363.4 kB / 4.446 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/10.43, allocations: 105.8 kB / 4.446 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/10.43, allocations: 42.47 kB / 4.446 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009174/10.44, allocations: 142.5 kB / 4.446 GB, free: 180.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 3.136e-06/10.44, allocations: 0 / 4.446 GB, free: 180.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.001426/10.44, allocations: 0.7335 MB / 4.447 GB, free: 180.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/10.44, allocations: 58.81 kB / 4.447 GB, free: 180.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/10.44, allocations: 0.9063 MB / 4.448 GB, free: 180.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/10.44, allocations: 29.45 kB / 4.448 GB, free: 180.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/10.44, allocations: 0.7848 MB / 4.449 GB, free: 180.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/10.44, allocations: 244.2 kB / 4.449 GB, free: 180 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/10.44, allocations: 3.656 kB / 4.449 GB, free: 180 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/10.44, allocations: 338 kB / 4.449 GB, free: 179.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/10.44, allocations: 301.3 kB / 4.45 GB, free: 179.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/10.44, allocations: 0.6168 MB / 4.45 GB, free: 179.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/10.44, allocations: 409.1 kB / 4.451 GB, free: 179.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/10.44, allocations: 0 / 4.451 GB, free: 179.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001354/10.44, allocations: 0.9659 MB / 4.451 GB, free: 179.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000514/10.44, allocations: 2.48 MB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/10.44, allocations: 14.33 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/10.44, allocations: 11.38 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/10.44, allocations: 197.4 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/10.44, allocations: 16.97 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/10.45, allocations: 105.5 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/10.45, allocations: 36.94 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/10.45, allocations: 7.406 kB / 4.454 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001071/10.45, allocations: 0.7934 MB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/10.45, allocations: 6.156 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/10.45, allocations: 12.22 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/10.45, allocations: 198 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/10.45, allocations: 20.77 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/10.45, allocations: 98.3 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/10.45, allocations: 42.62 kB / 4.455 GB, free: 176.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001889/10.45, allocations: 129.5 kB / 4.456 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/10.45, allocations: 137.3 kB / 4.456 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/10.45, allocations: 0.7687 MB / 4.456 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/10.45, allocations: 7.312 kB / 4.456 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/10.45, allocations: 7.891 kB / 4.456 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007415/10.45, allocations: 0.7553 MB / 4.457 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/10.45, allocations: 2.138 MB / 4.459 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/10.45, allocations: 6.766 kB / 4.459 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/10.45, allocations: 169.4 kB / 4.459 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/10.45, allocations: 7.391 kB / 4.459 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/10.45, allocations: 3.156 kB / 4.459 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/10.45, allocations: 9.625 kB / 4.459 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/10.45, allocations: 5.062 kB / 4.459 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/10.46, allocations: 1.288 MB / 4.461 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/10.46, allocations: 308.9 kB / 4.461 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/10.46, allocations: 10.84 kB / 4.461 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/10.46, allocations: 82.17 kB / 4.461 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/10.46, allocations: 45.86 kB / 4.461 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/10.46, allocations: 32.06 kB / 4.461 GB, free: 175.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008721/10.46, allocations: 0.687 MB / 4.462 GB, free: 175 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/10.46, allocations: 0 / 4.462 GB, free: 175 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003153/10.46, allocations: 1.053 MB / 4.463 GB, free: 174.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005078/10.47, allocations: 3.51 MB / 4.466 GB, free: 173.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001604/10.47, allocations: 1.203 MB / 4.467 GB, free: 173.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/10.47, allocations: 3.062 kB / 4.467 GB, free: 173.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/10.47, allocations: 334.8 kB / 4.468 GB, free: 173.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/10.47, allocations: 0.7513 MB / 4.469 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/10.48, allocations: 2.282 MB / 4.471 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000959/10.48, allocations: 1.383 MB / 4.472 GB, free: 172.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002328/10.48, allocations: 0.4973 MB / 4.473 GB, free: 172.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/10.48, allocations: 86.09 kB / 4.473 GB, free: 172.2 MB / 1.167 GB Notification: Performance of SimCode: time 8.81e-07/10.48, allocations: 0 / 4.473 GB, free: 172.2 MB / 1.167 GB Notification: Performance of Templates: time 0.06013/10.54, allocations: 43.2 MB / 4.515 GB, free: 170.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches