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.364/2.364, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001067/0.001067, allocations: 169 kB / 492.3 MB, free: 0.6055 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.718/1.718, allocations: 221.3 MB / 0.7872 GB, free: 12.87 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.00114/0.001141, allocations: 91.42 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.773e-05, allocations: 11.23 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3619, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.264/6.626, allocations: 1.929 GB / 3.141 GB, free: 401 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/6.626, allocations: 94.48 kB / 3.141 GB, free: 400.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.978/11.6, allocations: 1.311 GB / 4.452 GB, free: 196.2 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.883e-06/11.6, allocations: 2.188 kB / 4.452 GB, free: 196.2 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001858/11.6, allocations: 50.03 kB / 4.452 GB, free: 196.2 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.00586/11.61, allocations: 2.088 MB / 4.454 GB, free: 195.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/11.61, allocations: 11.69 kB / 4.454 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/11.61, allocations: 0.4991 MB / 4.455 GB, free: 195.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/11.62, allocations: 1.737 MB / 4.456 GB, free: 195.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/11.62, allocations: 103.8 kB / 4.456 GB, free: 195.2 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/11.62, allocations: 134.6 kB / 4.457 GB, free: 195.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/11.62, allocations: 1.526 MB / 4.458 GB, free: 195 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/11.62, allocations: 5.016 kB / 4.458 GB, free: 195 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/11.62, allocations: 59 kB / 4.458 GB, free: 195 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.082e-05/11.62, allocations: 44.92 kB / 4.458 GB, free: 195 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/11.63, allocations: 1.232 MB / 4.459 GB, free: 195 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.01105/11.64, allocations: 7.215 MB / 4.466 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/11.64, allocations: 0.6596 MB / 4.467 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007914/11.64, allocations: 376.1 kB / 4.467 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/11.64, allocations: 101.2 kB / 4.468 GB, free: 191.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.838e-05/11.64, allocations: 52.45 kB / 4.468 GB, free: 191.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/11.64, allocations: 170.8 kB / 4.468 GB, free: 191 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 5.259e-06/11.64, allocations: 0 / 4.468 GB, free: 191 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.002144/11.64, allocations: 0.7761 MB / 4.469 GB, free: 190.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/11.64, allocations: 61.66 kB / 4.469 GB, free: 190.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/11.65, allocations: 1.14 MB / 4.47 GB, free: 190.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/11.65, allocations: 48.02 kB / 4.47 GB, free: 190.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.000751/11.65, allocations: 0.7841 MB / 4.471 GB, free: 190.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/11.65, allocations: 238.7 kB / 4.471 GB, free: 190.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/11.65, allocations: 16.88 kB / 4.471 GB, free: 190.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001357/11.65, allocations: 344.5 kB / 4.471 GB, free: 190 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/11.65, allocations: 311.3 kB / 4.471 GB, free: 190 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/11.65, allocations: 0.6424 MB / 4.472 GB, free: 189.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008903/11.65, allocations: 429.4 kB / 4.472 GB, free: 189.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/11.65, allocations: 2.062 kB / 4.472 GB, free: 189.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0026/11.65, allocations: 1.063 MB / 4.473 GB, free: 189.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008419/11.65, allocations: 2.503 MB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/11.65, allocations: 5.219 kB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/11.65, allocations: 14.8 kB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000907/11.65, allocations: 199.8 kB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/11.65, allocations: 14.09 kB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/11.66, allocations: 137.3 kB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/11.66, allocations: 41.02 kB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/11.66, allocations: 8.188 kB / 4.476 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/11.66, allocations: 0.8909 MB / 4.477 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/11.66, allocations: 5.531 kB / 4.477 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/11.66, allocations: 13.23 kB / 4.477 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/11.66, allocations: 201.9 kB / 4.477 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.352e-05/11.66, allocations: 14.31 kB / 4.477 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/11.66, allocations: 119.3 kB / 4.478 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-05/11.66, allocations: 44.23 kB / 4.478 GB, free: 186.9 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.0002977/11.66, allocations: 156.1 kB / 4.478 GB, free: 186.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/11.66, allocations: 162.4 kB / 4.478 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/11.66, allocations: 0.8302 MB / 4.479 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/11.66, allocations: 8.688 kB / 4.479 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/11.66, allocations: 0 / 4.479 GB, free: 186.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/11.66, allocations: 0.7984 MB / 4.479 GB, free: 186.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/11.67, allocations: 2.34 MB / 4.482 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/11.67, allocations: 7.219 kB / 4.482 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/11.67, allocations: 165.9 kB / 4.482 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/11.67, allocations: 3.688 kB / 4.482 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/11.67, allocations: 25.89 kB / 4.482 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/11.67, allocations: 3.344 kB / 4.482 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/11.67, allocations: 2.516 kB / 4.482 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/11.67, allocations: 1.371 MB / 4.483 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/11.67, allocations: 325.9 kB / 4.484 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005276/11.67, allocations: 19.95 kB / 4.484 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/11.68, allocations: 101.6 kB / 4.484 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/11.68, allocations: 44.38 kB / 4.484 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/11.68, allocations: 41.48 kB / 4.484 GB, free: 185.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001852/11.68, allocations: 0.8774 MB / 4.485 GB, free: 185.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.51e-07/11.68, allocations: 3.625 kB / 4.485 GB, free: 185.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005936/11.68, allocations: 1.152 MB / 4.486 GB, free: 185.2 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.008095/11.69, allocations: 3.185 MB / 4.489 GB, free: 183.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003965/11.7, allocations: 1.278 MB / 4.49 GB, free: 183.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/11.7, allocations: 7.281 kB / 4.49 GB, free: 183.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0008487/11.7, allocations: 356.5 kB / 4.49 GB, free: 183.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007353/11.7, allocations: 0.8789 MB / 4.491 GB, free: 183.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007295/11.71, allocations: 2.339 MB / 4.494 GB, free: 183.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/11.71, allocations: 1.384 MB / 4.495 GB, free: 182.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004762/11.72, allocations: 0.5666 MB / 4.496 GB, free: 182.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/11.72, allocations: 91.23 kB / 4.496 GB, free: 182.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.613e-06/11.72, allocations: 0 / 4.496 GB, free: 182.5 MB / 1.182 GB Notification: Performance of Templates: time 0.1214/11.84, allocations: 72.49 MB / 4.566 GB, free: 180 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