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.498/1.498, allocations: 249.5 MB / 257 MB, free: 7.023 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.001193/0.001193, allocations: 174.8 kB / 316.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009373/0.0009374, allocations: 89.06 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.619e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2866, allocations: 106.4 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.94/7.227, allocations: 2.201 GB / 3.087 GB, free: 206 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/7.227, allocations: 95.94 kB / 3.087 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.095/12.32, allocations: 1.241 GB / 4.328 GB, free: 118 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.294e-06/12.32, allocations: 3.75 kB / 4.328 GB, free: 118 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002482/12.32, allocations: 45.11 kB / 4.328 GB, free: 118 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.007366/12.33, allocations: 2.082 MB / 4.33 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/12.33, allocations: 8.812 kB / 4.33 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/12.33, allocations: 0.4971 MB / 4.33 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/12.34, allocations: 1.741 MB / 4.332 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/12.34, allocations: 44.91 kB / 4.332 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/12.34, allocations: 84.89 kB / 4.332 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002225/12.34, allocations: 1.16 MB / 4.333 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/12.34, allocations: 1.289 MB / 4.334 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/12.34, allocations: 7.25 kB / 4.334 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/12.35, allocations: 7.266 kB / 4.334 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/12.35, allocations: 49.02 kB / 4.335 GB, free: 116.8 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.008543/12.35, allocations: 6.929 MB / 4.341 GB, free: 113.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/12.35, allocations: 0.6306 MB / 4.342 GB, free: 113.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/12.36, allocations: 356 kB / 4.342 GB, free: 113.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/12.36, allocations: 104.9 kB / 4.342 GB, free: 113 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/12.36, allocations: 46.22 kB / 4.342 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001105/12.36, allocations: 141.3 kB / 4.343 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 3.026e-06/12.36, allocations: 0 / 4.343 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.001344/12.36, allocations: 0.7176 MB / 4.343 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/12.36, allocations: 57.94 kB / 4.343 GB, free: 112.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/12.36, allocations: 0.9045 MB / 4.344 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/12.36, allocations: 32.77 kB / 4.344 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/12.36, allocations: 0.7771 MB / 4.345 GB, free: 112.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/12.36, allocations: 235.1 kB / 4.345 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/12.36, allocations: 2.062 kB / 4.345 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/12.36, allocations: 342.6 kB / 4.346 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/12.36, allocations: 288.6 kB / 4.346 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/12.36, allocations: 0.59 MB / 4.346 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/12.36, allocations: 395.8 kB / 4.347 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/12.36, allocations: 6.219 kB / 4.347 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001423/12.36, allocations: 0.9427 MB / 4.348 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000753/12.36, allocations: 2.648 MB / 4.35 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/12.36, allocations: 8.391 kB / 4.35 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.645e-05/12.36, allocations: 13.47 kB / 4.35 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/12.36, allocations: 200 kB / 4.35 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/12.36, allocations: 15.22 kB / 4.35 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/12.37, allocations: 100.6 kB / 4.351 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/12.37, allocations: 39.67 kB / 4.351 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/12.37, allocations: 3.906 kB / 4.351 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/12.37, allocations: 0.7845 MB / 4.351 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/12.37, allocations: 9.406 kB / 4.351 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/12.37, allocations: 10.59 kB / 4.351 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/12.37, allocations: 197.1 kB / 4.352 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/12.37, allocations: 14.69 kB / 4.352 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/12.37, allocations: 92.16 kB / 4.352 GB, free: 108.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/12.37, allocations: 44.38 kB / 4.352 GB, free: 108.7 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.0003086/12.37, allocations: 136 kB / 4.352 GB, free: 108.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/12.37, allocations: 143.5 kB / 4.352 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/12.37, allocations: 0.7492 MB / 4.353 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/12.37, allocations: 7.188 kB / 4.353 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/12.37, allocations: 3.562 kB / 4.353 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007559/12.37, allocations: 0.7424 MB / 4.353 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/12.38, allocations: 2.134 MB / 4.356 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/12.38, allocations: 0 / 4.356 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/12.38, allocations: 171.7 kB / 4.356 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/12.38, allocations: 3.656 kB / 4.356 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/12.38, allocations: 16.94 kB / 4.356 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/12.38, allocations: 7.781 kB / 4.356 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/12.38, allocations: 7.859 kB / 4.356 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/12.38, allocations: 1.327 MB / 4.357 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/12.38, allocations: 319.2 kB / 4.357 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/12.38, allocations: 6.156 kB / 4.357 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/12.38, allocations: 85.11 kB / 4.357 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/12.38, allocations: 53.39 kB / 4.358 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/12.38, allocations: 33.39 kB / 4.358 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009725/12.38, allocations: 0.6779 MB / 4.358 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/12.38, allocations: 3.906 kB / 4.358 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003625/12.39, allocations: 1.065 MB / 4.359 GB, free: 107.1 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.005125/12.39, allocations: 3.509 MB / 4.363 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001958/12.39, allocations: 1.19 MB / 4.364 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/12.39, allocations: 3.406 kB / 4.364 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003871/12.39, allocations: 325.3 kB / 4.364 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/12.4, allocations: 0.7597 MB / 4.365 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/12.4, allocations: 2.269 MB / 4.367 GB, free: 105 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/12.41, allocations: 1.389 MB / 4.368 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003092/12.41, allocations: 497.1 kB / 4.369 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/12.41, allocations: 90.53 kB / 4.369 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of SimCode: time 2.875e-06/12.41, allocations: 1.594 kB / 4.369 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.06955/12.48, allocations: 43.39 MB / 4.411 GB, free: 102.5 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