Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.5/2.5, allocations: 390.5 MB / 398 MB, free: 10.98 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.001141/0.001141, allocations: 179.1 kB / 491.2 MB, free: 1.598 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.655/1.655, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 90.7 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.514e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3802, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.073/6.453, allocations: 1.929 GB / 3.141 GB, free: 400.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/6.453, allocations: 95.94 kB / 3.141 GB, free: 400.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.287/11.74, allocations: 1.297 GB / 4.439 GB, free: 195.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.913e-06/11.74, allocations: 0 / 4.439 GB, free: 195.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001819/11.74, allocations: 47.98 kB / 4.439 GB, free: 195.8 MB / 1.182 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.006113/11.75, allocations: 2.09 MB / 4.441 GB, free: 195.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/11.75, allocations: 13.03 kB / 4.441 GB, free: 195.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/11.75, allocations: 0.49 MB / 4.441 GB, free: 195.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004565/11.76, allocations: 1.735 MB / 4.443 GB, free: 194.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/11.76, allocations: 43.5 kB / 4.443 GB, free: 194.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/11.76, allocations: 83.81 kB / 4.443 GB, free: 194.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002334/11.76, allocations: 1.153 MB / 4.444 GB, free: 194.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/11.76, allocations: 1.28 MB / 4.445 GB, free: 194.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/11.76, allocations: 0 / 4.445 GB, free: 194.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/11.76, allocations: 3.75 kB / 4.445 GB, free: 194.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/11.76, allocations: 44.39 kB / 4.445 GB, free: 194.7 MB / 1.182 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.008078/11.77, allocations: 6.935 MB / 4.452 GB, free: 191 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/11.77, allocations: 0.6317 MB / 4.453 GB, free: 190.9 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/11.77, allocations: 359.2 kB / 4.453 GB, free: 190.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/11.77, allocations: 107.4 kB / 4.453 GB, free: 190.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/11.77, allocations: 46.5 kB / 4.453 GB, free: 190.8 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001029/11.77, allocations: 139 kB / 4.453 GB, free: 190.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 4.719e-06/11.77, allocations: 2.156 kB / 4.453 GB, free: 190.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.001334/11.77, allocations: 0.7342 MB / 4.454 GB, free: 190.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/11.77, allocations: 58.12 kB / 4.454 GB, free: 190.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/11.77, allocations: 0.913 MB / 4.455 GB, free: 190.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/11.77, allocations: 25.7 kB / 4.455 GB, free: 190.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005593/11.78, allocations: 0.7912 MB / 4.456 GB, free: 190.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/11.78, allocations: 233.9 kB / 4.456 GB, free: 190 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/11.78, allocations: 0 / 4.456 GB, free: 190 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/11.78, allocations: 341.5 kB / 4.456 GB, free: 189.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/11.78, allocations: 296.8 kB / 4.457 GB, free: 189.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/11.78, allocations: 0.6252 MB / 4.457 GB, free: 189.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/11.78, allocations: 407 kB / 4.458 GB, free: 189.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/11.78, allocations: 3.031 kB / 4.458 GB, free: 189.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001299/11.78, allocations: 0.9672 MB / 4.459 GB, free: 189.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005513/11.78, allocations: 2.477 MB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/11.78, allocations: 6.5 kB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/11.78, allocations: 13.66 kB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/11.78, allocations: 201 kB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/11.78, allocations: 18.42 kB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/11.78, allocations: 103.4 kB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/11.78, allocations: 39.42 kB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/11.78, allocations: 2.469 kB / 4.461 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/11.78, allocations: 0.7922 MB / 4.462 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/11.78, allocations: 7.375 kB / 4.462 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/11.78, allocations: 10.5 kB / 4.462 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/11.78, allocations: 202.1 kB / 4.462 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/11.78, allocations: 17.16 kB / 4.462 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/11.78, allocations: 105.7 kB / 4.462 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/11.78, allocations: 36.56 kB / 4.463 GB, free: 186.7 MB / 1.182 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.0002045/11.79, allocations: 132.5 kB / 4.463 GB, free: 186.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/11.79, allocations: 134.9 kB / 4.463 GB, free: 186.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/11.79, allocations: 0.7737 MB / 4.464 GB, free: 186.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/11.79, allocations: 11.89 kB / 4.464 GB, free: 186.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/11.79, allocations: 0 / 4.464 GB, free: 186.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008809/11.79, allocations: 0.7577 MB / 4.464 GB, free: 186.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/11.79, allocations: 2.132 MB / 4.466 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/11.79, allocations: 6.031 kB / 4.466 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008139/11.79, allocations: 165.4 kB / 4.467 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/11.79, allocations: 4.344 kB / 4.467 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/11.79, allocations: 9.062 kB / 4.467 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/11.79, allocations: 5.781 kB / 4.467 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/11.79, allocations: 6.562 kB / 4.467 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/11.79, allocations: 1.287 MB / 4.468 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/11.79, allocations: 311.4 kB / 4.468 GB, free: 185.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/11.79, allocations: 3.125 kB / 4.468 GB, free: 185.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/11.8, allocations: 95.16 kB / 4.468 GB, free: 185.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/11.8, allocations: 47.02 kB / 4.468 GB, free: 185.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.338e-05/11.8, allocations: 37.58 kB / 4.468 GB, free: 185.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0008827/11.8, allocations: 0.678 MB / 4.469 GB, free: 185.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.3e-07/11.8, allocations: 0 / 4.469 GB, free: 185.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00307/11.8, allocations: 1.06 MB / 4.47 GB, free: 185.1 MB / 1.182 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.005693/11.8, allocations: 3.507 MB / 4.473 GB, free: 183.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001922/11.81, allocations: 1.203 MB / 4.475 GB, free: 183.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/11.81, allocations: 0 / 4.475 GB, free: 183.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/11.81, allocations: 338.7 kB / 4.475 GB, free: 183.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/11.81, allocations: 0.751 MB / 4.476 GB, free: 183.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/11.82, allocations: 2.277 MB / 4.478 GB, free: 183 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/11.82, allocations: 1.382 MB / 4.479 GB, free: 182.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002195/11.82, allocations: 0.4942 MB / 4.48 GB, free: 182.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/11.82, allocations: 85.64 kB / 4.48 GB, free: 182.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.002e-06/11.82, allocations: 0 / 4.48 GB, free: 182.3 MB / 1.182 GB Notification: Performance of Templates: time 0.0743/11.89, allocations: 43.2 MB / 4.522 GB, free: 181 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches