Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.2 MB / 0.572 GB, free: 10.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 89.28 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.681e-05/4.682e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2757, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.194/6.47, allocations: 2.201 GB / 3.093 GB, free: 168 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/6.47, allocations: 89.56 kB / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.91/11.38, allocations: 1.255 GB / 4.348 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.563e-06/11.38, allocations: 0 / 4.348 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000182/11.38, allocations: 48.89 kB / 4.348 GB, free: 117.2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.006721/11.39, allocations: 2.083 MB / 4.35 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/11.39, allocations: 9.781 kB / 4.35 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/11.39, allocations: 0.4992 MB / 4.35 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006652/11.4, allocations: 1.74 MB / 4.352 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/11.4, allocations: 103.3 kB / 4.352 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003782/11.4, allocations: 136.2 kB / 4.352 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/11.4, allocations: 1.561 MB / 4.354 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/11.4, allocations: 6.047 kB / 4.354 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/11.4, allocations: 59.59 kB / 4.354 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/11.4, allocations: 46.55 kB / 4.354 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/11.41, allocations: 1.236 MB / 4.355 GB, free: 115.6 MB / 0.9011 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.01097/11.42, allocations: 7.206 MB / 4.362 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/11.42, allocations: 0.6572 MB / 4.363 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/11.42, allocations: 371.7 kB / 4.363 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/11.42, allocations: 109.4 kB / 4.363 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/11.42, allocations: 45.06 kB / 4.363 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001254/11.42, allocations: 178.3 kB / 4.363 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 7.474e-06/11.42, allocations: 0 / 4.363 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.001404/11.42, allocations: 0.7659 MB / 4.364 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/11.42, allocations: 59.91 kB / 4.364 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/11.42, allocations: 1.145 MB / 4.365 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/11.42, allocations: 42.67 kB / 4.365 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/11.42, allocations: 0.7667 MB / 4.366 GB, free: 111 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/11.42, allocations: 252.7 kB / 4.366 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/11.42, allocations: 18.41 kB / 4.366 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/11.42, allocations: 339 kB / 4.367 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/11.42, allocations: 304.1 kB / 4.367 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/11.42, allocations: 0.6154 MB / 4.368 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/11.43, allocations: 415.2 kB / 4.368 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/11.43, allocations: 3.875 kB / 4.368 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001464/11.43, allocations: 1.035 MB / 4.369 GB, free: 110.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000545/11.43, allocations: 2.679 MB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/11.43, allocations: 7 kB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/11.43, allocations: 11.97 kB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/11.43, allocations: 203.1 kB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/11.43, allocations: 13.5 kB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/11.43, allocations: 119.8 kB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/11.43, allocations: 48.56 kB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/11.43, allocations: 3.75 kB / 4.372 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/11.43, allocations: 0.8798 MB / 4.373 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/11.43, allocations: 9.922 kB / 4.373 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/11.43, allocations: 15.25 kB / 4.373 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/11.43, allocations: 195.8 kB / 4.373 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/11.43, allocations: 18.8 kB / 4.373 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/11.43, allocations: 121 kB / 4.373 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/11.43, allocations: 40.89 kB / 4.373 GB, free: 107.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.0002631/11.43, allocations: 164 kB / 4.373 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/11.43, allocations: 149.8 kB / 4.374 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/11.44, allocations: 0.823 MB / 4.374 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/11.44, allocations: 7.812 kB / 4.374 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/11.44, allocations: 6.484 kB / 4.374 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008336/11.44, allocations: 0.7818 MB / 4.375 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/11.44, allocations: 2.343 MB / 4.377 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/11.44, allocations: 0 / 4.377 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/11.44, allocations: 175.2 kB / 4.378 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/11.44, allocations: 2.875 kB / 4.378 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/11.44, allocations: 18.94 kB / 4.378 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/11.44, allocations: 3.219 kB / 4.378 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/11.44, allocations: 7.906 kB / 4.378 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/11.44, allocations: 1.397 MB / 4.379 GB, free: 106 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/11.44, allocations: 344.3 kB / 4.379 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/11.44, allocations: 18.41 kB / 4.379 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/11.44, allocations: 108.5 kB / 4.379 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/11.44, allocations: 45.41 kB / 4.379 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/11.44, allocations: 32.8 kB / 4.379 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001105/11.45, allocations: 0.8821 MB / 4.38 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.6e-07/11.45, allocations: 0 / 4.38 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003536/11.45, allocations: 1.173 MB / 4.381 GB, free: 105.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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.004666/11.45, allocations: 3.184 MB / 4.385 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002388/11.46, allocations: 1.264 MB / 4.386 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/11.46, allocations: 4.469 kB / 4.386 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004501/11.46, allocations: 346.2 kB / 4.386 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004749/11.46, allocations: 0.8923 MB / 4.387 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/11.47, allocations: 2.338 MB / 4.389 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/11.47, allocations: 1.393 MB / 4.391 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002248/11.47, allocations: 0.5517 MB / 4.391 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/11.47, allocations: 89.28 kB / 4.391 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/11.47, allocations: 3.938 kB / 4.391 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.09566/11.56, allocations: 72.82 MB / 4.462 GB, free: 96.81 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches