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.27/2.27, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001098/0.001098, allocations: 179.3 kB / 498.1 MB, free: 5.691 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.528/1.528, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.001087/0.001087, allocations: 111.8 kB / 0.9346 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 12.44 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2999, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.235/4.535, allocations: 1.929 GB / 3.152 GB, free: 49.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/4.535, allocations: 99.95 kB / 3.152 GB, free: 49.69 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.49/9.026, allocations: 1.312 GB / 4.464 GB, free: 61.45 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.415e-06/9.026, allocations: 0 / 4.464 GB, free: 61.45 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002565/9.026, allocations: 43.94 kB / 4.464 GB, free: 61.41 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.007542/9.033, allocations: 2.368 MB / 4.466 GB, free: 58.97 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/9.034, allocations: 12.03 kB / 4.466 GB, free: 58.96 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/9.038, allocations: 0.4894 MB / 4.467 GB, free: 58.46 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/9.043, allocations: 1.764 MB / 4.469 GB, free: 56.64 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/9.043, allocations: 106.5 kB / 4.469 GB, free: 56.54 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/9.043, allocations: 136 kB / 4.469 GB, free: 56.41 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/9.046, allocations: 1.553 MB / 4.47 GB, free: 54.78 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/9.046, allocations: 3.938 kB / 4.47 GB, free: 54.78 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/9.046, allocations: 60 kB / 4.47 GB, free: 54.72 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/9.046, allocations: 46.44 kB / 4.47 GB, free: 54.67 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/9.048, allocations: 1.259 MB / 4.472 GB, free: 53.41 MB / 1.167 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.008083/9.056, allocations: 7.204 MB / 4.479 GB, free: 45.64 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/9.057, allocations: 0.6746 MB / 4.479 GB, free: 44.96 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/9.057, allocations: 109.6 kB / 4.479 GB, free: 44.83 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/9.057, allocations: 47.12 kB / 4.479 GB, free: 44.78 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001052/9.058, allocations: 163.2 kB / 4.48 GB, free: 44.62 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 3.737e-06/9.058, allocations: 7.938 kB / 4.48 GB, free: 44.61 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.001635/9.06, allocations: 1.032 MB / 4.481 GB, free: 43.57 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/9.06, allocations: 55.97 kB / 4.481 GB, free: 43.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/9.061, allocations: 1.163 MB / 4.482 GB, free: 42.34 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/9.061, allocations: 41.7 kB / 4.482 GB, free: 42.29 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/9.062, allocations: 0.7856 MB / 4.483 GB, free: 41.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/9.062, allocations: 244.5 kB / 4.483 GB, free: 41.25 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/9.062, allocations: 12 kB / 4.483 GB, free: 41.24 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/9.062, allocations: 345.9 kB / 4.483 GB, free: 40.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/9.062, allocations: 317.8 kB / 4.484 GB, free: 40.59 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/9.063, allocations: 0.6494 MB / 4.484 GB, free: 39.79 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/9.063, allocations: 437 kB / 4.485 GB, free: 39.37 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/9.063, allocations: 4 kB / 4.485 GB, free: 39.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001321/9.065, allocations: 1.074 MB / 4.486 GB, free: 38.28 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004371/9.065, allocations: 2.5 MB / 4.488 GB, free: 35.65 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/9.065, allocations: 12 kB / 4.488 GB, free: 35.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/9.065, allocations: 12 kB / 4.488 GB, free: 35.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/9.066, allocations: 199.7 kB / 4.488 GB, free: 35.43 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/9.066, allocations: 19.98 kB / 4.488 GB, free: 35.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/9.068, allocations: 131.5 kB / 4.488 GB, free: 35.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/9.068, allocations: 39.98 kB / 4.488 GB, free: 35.24 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/9.068, allocations: 4 kB / 4.488 GB, free: 35.24 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/9.069, allocations: 0.9092 MB / 4.489 GB, free: 34.33 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/9.069, allocations: 8.844 kB / 4.489 GB, free: 34.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/9.069, allocations: 12 kB / 4.489 GB, free: 34.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/9.07, allocations: 199.7 kB / 4.49 GB, free: 34.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/9.07, allocations: 15.98 kB / 4.49 GB, free: 34.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/9.071, allocations: 119.7 kB / 4.49 GB, free: 33.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/9.071, allocations: 43.98 kB / 4.49 GB, free: 33.94 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 () * Number of clocked 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.000963/9.072, allocations: 0.4891 MB / 4.49 GB, free: 33.44 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/9.073, allocations: 154.2 kB / 4.49 GB, free: 33.29 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/9.074, allocations: 0.8475 MB / 4.491 GB, free: 32.43 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/9.074, allocations: 8 kB / 4.491 GB, free: 32.42 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/9.074, allocations: 0 / 4.491 GB, free: 32.42 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008223/9.075, allocations: 0.8135 MB / 4.492 GB, free: 31.55 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/9.078, allocations: 2.346 MB / 4.494 GB, free: 29.13 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/9.078, allocations: 4 kB / 4.494 GB, free: 29.13 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/9.079, allocations: 164 kB / 4.494 GB, free: 28.97 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/9.079, allocations: 4 kB / 4.494 GB, free: 28.96 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/9.079, allocations: 23.98 kB / 4.494 GB, free: 28.94 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/9.079, allocations: 4 kB / 4.494 GB, free: 28.94 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/9.079, allocations: 4 kB / 4.494 GB, free: 28.93 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/9.08, allocations: 1.379 MB / 4.496 GB, free: 27.47 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/9.081, allocations: 323.2 kB / 4.496 GB, free: 27.14 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/9.081, allocations: 16 kB / 4.496 GB, free: 27.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/9.082, allocations: 99.75 kB / 4.496 GB, free: 27.02 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/9.082, allocations: 48.45 kB / 4.496 GB, free: 26.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/9.083, allocations: 32.11 kB / 4.496 GB, free: 26.95 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001069/9.084, allocations: 0.9004 MB / 4.497 GB, free: 26.05 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.31e-07/9.084, allocations: 0 / 4.497 GB, free: 26.05 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003349/9.087, allocations: 1.162 MB / 4.498 GB, free: 24.88 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 () * Number of clocked 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.004496/9.091, allocations: 3.185 MB / 4.501 GB, free: 21.37 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00192/9.093, allocations: 1.249 MB / 4.503 GB, free: 20.12 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/9.093, allocations: 0 / 4.503 GB, free: 20.12 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/9.094, allocations: 363.6 kB / 4.503 GB, free: 19.77 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/9.098, allocations: 0.8743 MB / 4.504 GB, free: 18.91 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/9.103, allocations: 3.508 MB / 4.507 GB, free: 15.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/9.103, allocations: 1.384 MB / 4.509 GB, free: 13.93 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002006/9.105, allocations: 428.6 kB / 4.509 GB, free: 13.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/9.106, allocations: 115.4 kB / 4.509 GB, free: 13.39 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/9.106, allocations: 3.938 kB / 4.509 GB, free: 13.38 MB / 1.167 GB Notification: Performance of Templates: time 0.7849/9.891, allocations: 62.44 MB / 4.57 GB, free: 178.1 MB / 1.182 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