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.328/2.328, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001261/0.001261, allocations: 176.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009898/0.0009898, allocations: 91.94 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.92e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3739, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.36/6.734, allocations: 1.929 GB / 3.148 GB, free: 384.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/6.735, allocations: 92.73 kB / 3.148 GB, free: 384.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.319/12.05, allocations: 1.311 GB / 4.459 GB, free: 190.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.725e-06/12.05, allocations: 0 / 4.459 GB, free: 190.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003172/12.05, allocations: 45.41 kB / 4.459 GB, free: 190.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.009607/12.06, allocations: 2.096 MB / 4.461 GB, free: 190.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 8.226e-05/12.06, allocations: 9.719 kB / 4.461 GB, free: 190.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006663/12.07, allocations: 0.4954 MB / 4.462 GB, free: 190.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007641/12.08, allocations: 1.738 MB / 4.464 GB, free: 189.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/12.08, allocations: 103.9 kB / 4.464 GB, free: 189.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006935/12.08, allocations: 136.5 kB / 4.464 GB, free: 189.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004833/12.08, allocations: 1.532 MB / 4.465 GB, free: 189.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.887e-05/12.08, allocations: 7.438 kB / 4.465 GB, free: 189.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/12.08, allocations: 53.38 kB / 4.465 GB, free: 189.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.252e-05/12.08, allocations: 49.64 kB / 4.465 GB, free: 189.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/12.09, allocations: 1.232 MB / 4.467 GB, free: 189.6 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.01096/12.1, allocations: 7.218 MB / 4.474 GB, free: 185.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/12.1, allocations: 0.65 MB / 4.474 GB, free: 185.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/12.1, allocations: 382.9 kB / 4.475 GB, free: 185.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/12.1, allocations: 112.3 kB / 4.475 GB, free: 185.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/12.1, allocations: 47.72 kB / 4.475 GB, free: 185.6 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/12.1, allocations: 171.3 kB / 4.475 GB, free: 185.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 6.261e-06/12.1, allocations: 3.75 kB / 4.475 GB, free: 185.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.0018/12.1, allocations: 0.77 MB / 4.476 GB, free: 185.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/12.1, allocations: 58.94 kB / 4.476 GB, free: 185.4 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/12.11, allocations: 1.145 MB / 4.477 GB, free: 185.2 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/12.11, allocations: 45.45 kB / 4.477 GB, free: 185.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/12.11, allocations: 0.773 MB / 4.478 GB, free: 185 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/12.11, allocations: 245.9 kB / 4.478 GB, free: 184.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/12.11, allocations: 22 kB / 4.478 GB, free: 184.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/12.11, allocations: 335.2 kB / 4.478 GB, free: 184.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/12.11, allocations: 316.9 kB / 4.479 GB, free: 184.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/12.11, allocations: 0.6444 MB / 4.479 GB, free: 184.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/12.11, allocations: 421.5 kB / 4.48 GB, free: 184.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/12.11, allocations: 0 / 4.48 GB, free: 184.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00179/12.11, allocations: 1.067 MB / 4.481 GB, free: 184 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006108/12.11, allocations: 2.501 MB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/12.11, allocations: 7.062 kB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/12.11, allocations: 11.59 kB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/12.11, allocations: 199.1 kB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/12.11, allocations: 12.66 kB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/12.11, allocations: 132.7 kB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/12.11, allocations: 45.02 kB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/12.11, allocations: 8.156 kB / 4.483 GB, free: 181.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/12.12, allocations: 0.8963 MB / 4.484 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/12.12, allocations: 3.781 kB / 4.484 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/12.12, allocations: 12.66 kB / 4.484 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/12.12, allocations: 194.6 kB / 4.485 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/12.12, allocations: 14.47 kB / 4.485 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/12.12, allocations: 129.5 kB / 4.485 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/12.12, allocations: 38.84 kB / 4.485 GB, free: 181.4 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.0002485/12.12, allocations: 161.1 kB / 4.485 GB, free: 181.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/12.12, allocations: 157.9 kB / 4.485 GB, free: 181.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/12.12, allocations: 0.8373 MB / 4.486 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/12.12, allocations: 9.906 kB / 4.486 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/12.12, allocations: 0 / 4.486 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009174/12.12, allocations: 0.8005 MB / 4.487 GB, free: 180.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/12.13, allocations: 2.348 MB / 4.489 GB, free: 180.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/12.13, allocations: 3 kB / 4.489 GB, free: 180.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/12.13, allocations: 162 kB / 4.489 GB, free: 180.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/12.13, allocations: 7.062 kB / 4.489 GB, free: 180.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/12.13, allocations: 20.69 kB / 4.489 GB, free: 180.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/12.13, allocations: 15.17 kB / 4.489 GB, free: 180.5 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/12.13, allocations: 0 / 4.489 GB, free: 180.5 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/12.13, allocations: 1.365 MB / 4.49 GB, free: 180.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009437/12.13, allocations: 325.6 kB / 4.491 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/12.13, allocations: 22.94 kB / 4.491 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/12.13, allocations: 97.3 kB / 4.491 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/12.13, allocations: 49.66 kB / 4.491 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/12.13, allocations: 32.77 kB / 4.491 GB, free: 179.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001447/12.13, allocations: 0.8804 MB / 4.492 GB, free: 179.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.9e-07/12.13, allocations: 0 / 4.492 GB, free: 179.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00462/12.14, allocations: 1.152 MB / 4.493 GB, free: 179.8 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.005498/12.14, allocations: 3.182 MB / 4.496 GB, free: 178.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002322/12.15, allocations: 1.281 MB / 4.497 GB, free: 178.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/12.15, allocations: 0 / 4.497 GB, free: 178.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0004904/12.15, allocations: 351.6 kB / 4.498 GB, free: 178.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/12.15, allocations: 0.884 MB / 4.498 GB, free: 178.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/12.16, allocations: 2.343 MB / 4.501 GB, free: 177.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/12.16, allocations: 1.386 MB / 4.502 GB, free: 177 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002953/12.16, allocations: 0.5629 MB / 4.503 GB, free: 177 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/12.16, allocations: 90.61 kB / 4.503 GB, free: 177 MB / 1.182 GB Notification: Performance of SimCode: time 1.262e-06/12.16, allocations: 0 / 4.503 GB, free: 177 MB / 1.182 GB Notification: Performance of Templates: time 0.1023/12.26, allocations: 72.49 MB / 4.574 GB, free: 174.5 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