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.629/2.629, allocations: 393.5 MB / 408.4 MB, free: 11 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.00113/0.00113, allocations: 187.3 kB / 0.4902 GB, free: 2.258 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.546/1.546, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001029/0.001029, allocations: 100.1 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 11.28 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3618, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.495/5.857, allocations: 1.93 GB / 3.159 GB, free: 51.63 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/5.857, allocations: 99.94 kB / 3.159 GB, free: 51.54 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.786/10.64, allocations: 1.312 GB / 4.471 GB, free: 51.87 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.844e-06/10.64, allocations: 0 / 4.471 GB, free: 51.87 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002253/10.64, allocations: 39.98 kB / 4.471 GB, free: 51.83 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.00752/10.65, allocations: 2.378 MB / 4.473 GB, free: 49.39 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/10.65, allocations: 12.78 kB / 4.473 GB, free: 49.38 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00502/10.66, allocations: 0.4933 MB / 4.474 GB, free: 48.88 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005407/10.66, allocations: 1.753 MB / 4.476 GB, free: 47.07 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/10.66, allocations: 106.5 kB / 4.476 GB, free: 46.96 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005253/10.66, allocations: 143.9 kB / 4.476 GB, free: 46.82 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/10.67, allocations: 1.543 MB / 4.477 GB, free: 45.21 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/10.67, allocations: 3.938 kB / 4.477 GB, free: 45.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/10.67, allocations: 60 kB / 4.477 GB, free: 45.14 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/10.67, allocations: 46.44 kB / 4.477 GB, free: 45.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/10.67, allocations: 1.263 MB / 4.479 GB, free: 43.83 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.009361/10.68, allocations: 7.211 MB / 4.486 GB, free: 36.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/10.68, allocations: 0.6777 MB / 4.486 GB, free: 35.36 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/10.68, allocations: 105.6 kB / 4.487 GB, free: 35.24 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/10.68, allocations: 47.12 kB / 4.487 GB, free: 35.19 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001299/10.68, allocations: 163.2 kB / 4.487 GB, free: 35.03 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 4.779e-06/10.68, allocations: 0 / 4.487 GB, free: 35.03 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.002062/10.68, allocations: 1.04 MB / 4.488 GB, free: 33.98 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/10.68, allocations: 67.91 kB / 4.488 GB, free: 33.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/10.68, allocations: 1.156 MB / 4.489 GB, free: 32.74 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/10.68, allocations: 45.7 kB / 4.489 GB, free: 32.69 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/10.68, allocations: 0.7778 MB / 4.49 GB, free: 31.91 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/10.68, allocations: 244.5 kB / 4.49 GB, free: 31.66 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/10.68, allocations: 16 kB / 4.49 GB, free: 31.65 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/10.68, allocations: 341.9 kB / 4.49 GB, free: 31.31 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/10.68, allocations: 317.8 kB / 4.491 GB, free: 31 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/10.69, allocations: 0.6494 MB / 4.491 GB, free: 30.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/10.69, allocations: 437 kB / 4.492 GB, free: 29.78 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/10.69, allocations: 4 kB / 4.492 GB, free: 29.78 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001605/10.69, allocations: 1.078 MB / 4.493 GB, free: 28.69 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005965/10.69, allocations: 2.5 MB / 4.495 GB, free: 26.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/10.69, allocations: 8 kB / 4.495 GB, free: 26.05 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/10.69, allocations: 12 kB / 4.495 GB, free: 26.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/10.69, allocations: 203.7 kB / 4.495 GB, free: 25.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/10.69, allocations: 15.98 kB / 4.495 GB, free: 25.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/10.69, allocations: 131.5 kB / 4.496 GB, free: 25.69 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/10.69, allocations: 43.92 kB / 4.496 GB, free: 25.65 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/10.69, allocations: 4 kB / 4.496 GB, free: 25.64 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/10.69, allocations: 0.9099 MB / 4.496 GB, free: 24.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/10.69, allocations: 8 kB / 4.496 GB, free: 24.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/10.69, allocations: 16.09 kB / 4.496 GB, free: 24.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/10.69, allocations: 191.7 kB / 4.497 GB, free: 24.52 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/10.69, allocations: 19.92 kB / 4.497 GB, free: 24.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/10.69, allocations: 123.7 kB / 4.497 GB, free: 24.38 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/10.69, allocations: 39.98 kB / 4.497 GB, free: 24.34 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.000926/10.7, allocations: 496.9 kB / 4.497 GB, free: 23.85 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/10.7, allocations: 154.2 kB / 4.497 GB, free: 23.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/10.7, allocations: 0.8474 MB / 4.498 GB, free: 22.83 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/10.7, allocations: 8 kB / 4.498 GB, free: 22.82 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/10.7, allocations: 0 / 4.498 GB, free: 22.82 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000802/10.7, allocations: 0.8058 MB / 4.499 GB, free: 21.97 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/10.7, allocations: 2.35 MB / 4.501 GB, free: 19.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/10.7, allocations: 4 kB / 4.501 GB, free: 19.54 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/10.7, allocations: 164 kB / 4.502 GB, free: 19.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/10.7, allocations: 8 kB / 4.502 GB, free: 19.37 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/10.7, allocations: 19.98 kB / 4.502 GB, free: 19.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/10.7, allocations: 7.938 kB / 4.502 GB, free: 19.34 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/10.7, allocations: 4 kB / 4.502 GB, free: 19.34 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/10.7, allocations: 1.375 MB / 4.503 GB, free: 17.89 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/10.71, allocations: 331.1 kB / 4.503 GB, free: 17.54 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/10.71, allocations: 16.12 kB / 4.503 GB, free: 17.53 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/10.71, allocations: 107.8 kB / 4.503 GB, free: 17.42 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/10.71, allocations: 48.39 kB / 4.503 GB, free: 17.38 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/10.71, allocations: 31.98 kB / 4.503 GB, free: 17.34 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001292/10.71, allocations: 0.8966 MB / 4.504 GB, free: 16.45 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/10.71, allocations: 0 / 4.504 GB, free: 16.45 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003502/10.71, allocations: 1.166 MB / 4.505 GB, free: 15.28 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.004246/10.72, allocations: 3.167 MB / 4.509 GB, free: 11.77 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002127/10.72, allocations: 1.249 MB / 4.51 GB, free: 10.53 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/10.72, allocations: 0 / 4.51 GB, free: 10.53 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/10.72, allocations: 368 kB / 4.51 GB, free: 10.17 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/10.72, allocations: 0.8777 MB / 4.511 GB, free: 9.305 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/10.73, allocations: 3.501 MB / 4.514 GB, free: 5.75 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/10.73, allocations: 1.384 MB / 4.516 GB, free: 4.336 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002241/10.73, allocations: 428.6 kB / 4.516 GB, free: 3.91 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/10.73, allocations: 115.4 kB / 4.516 GB, free: 3.797 MB / 1.167 GB Notification: Performance of SimCode: time 1.122e-06/10.73, allocations: 4 kB / 4.516 GB, free: 3.793 MB / 1.167 GB Notification: Performance of Templates: time 0.8272/11.56, allocations: 62.43 MB / 4.577 GB, free: 200.5 MB / 1.198 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