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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6385, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2226/0.8612, allocations: 223.7 MB / 1.239 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.8822, allocations: 15.85 MB / 1.255 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.8842, allocations: 51.62 kB / 1.255 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.6186/1.503, allocations: 0.9903 MB / 1.256 GB, free: 31.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009863/1.513, allocations: 3.021 MB / 1.259 GB, free: 31.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006065/1.519, allocations: 1.767 MB / 1.26 GB, free: 31.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007028/1.526, allocations: 2.721 MB / 1.263 GB, free: 31.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00371/1.53, allocations: 1.331 MB / 1.264 GB, free: 30.94 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005546/1.535, allocations: 1.594 MB / 1.266 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/1.539, allocations: 0.9482 MB / 1.267 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000697/1.539, allocations: 74.16 kB / 1.267 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005997/1.545, allocations: 1.316 MB / 1.268 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/1.547, allocations: 0.5465 MB / 1.269 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/1.549, allocations: 428.4 kB / 1.269 GB, free: 30.89 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006287/1.555, allocations: 2.455 MB / 1.272 GB, free: 30.72 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.555, allocations: 0 / 1.272 GB, free: 30.72 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.787e-06/1.555, allocations: 0 / 1.272 GB, free: 30.72 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001191/1.555, allocations: 3.234 kB / 1.272 GB, free: 30.72 MB / 0.9981 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.005281/1.561, allocations: 1.999 MB / 1.274 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.561, allocations: 8.938 kB / 1.274 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005243/1.566, allocations: 0.6545 MB / 1.274 GB, free: 29.49 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/1.569, allocations: 1.278 MB / 1.275 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.676e-05/1.569, allocations: 101.7 kB / 1.276 GB, free: 29.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/1.57, allocations: 137.7 kB / 1.276 GB, free: 29.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/1.573, allocations: 1.556 MB / 1.277 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.573, allocations: 4.219 kB / 1.277 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/1.573, allocations: 56.69 kB / 1.277 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/1.573, allocations: 46.84 kB / 1.277 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/1.575, allocations: 1.264 MB / 1.279 GB, free: 28.89 MB / 0.9981 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.00961/1.585, allocations: 7.223 MB / 1.286 GB, free: 25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.586, allocations: 0.6395 MB / 1.286 GB, free: 24.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.506e-05/1.586, allocations: 24.48 kB / 1.286 GB, free: 24.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.586, allocations: 43.72 kB / 1.286 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001215/1.587, allocations: 147.8 kB / 1.286 GB, free: 24.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 3.437e-06/1.587, allocations: 0 / 1.286 GB, free: 24.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.002054/1.589, allocations: 1.014 MB / 1.287 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.589, allocations: 61.19 kB / 1.287 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/1.591, allocations: 1.337 MB / 1.289 GB, free: 24.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.591, allocations: 45.08 kB / 1.289 GB, free: 24.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/1.592, allocations: 0.7727 MB / 1.29 GB, free: 24.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/1.592, allocations: 246.5 kB / 1.29 GB, free: 24.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/1.592, allocations: 19.91 kB / 1.29 GB, free: 24.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/1.592, allocations: 343.3 kB / 1.29 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/1.593, allocations: 342.8 kB / 1.29 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/1.593, allocations: 0.6675 MB / 1.291 GB, free: 23.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/1.594, allocations: 457.7 kB / 1.292 GB, free: 23.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.594, allocations: 2.969 kB / 1.292 GB, free: 23.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001696/1.596, allocations: 1.147 MB / 1.293 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004479/1.596, allocations: 2.675 MB / 1.295 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.596, allocations: 10.47 kB / 1.295 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/1.596, allocations: 11.31 kB / 1.295 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/1.597, allocations: 213.6 kB / 1.296 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/1.597, allocations: 14.22 kB / 1.296 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.599, allocations: 135.7 kB / 1.296 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/1.599, allocations: 41.06 kB / 1.296 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.599, allocations: 5.25 kB / 1.296 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/1.601, allocations: 0.9772 MB / 1.297 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.601, allocations: 8.969 kB / 1.297 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.601, allocations: 14.73 kB / 1.297 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/1.601, allocations: 208.7 kB / 1.297 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/1.601, allocations: 20.3 kB / 1.297 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.603, allocations: 148 kB / 1.297 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/1.603, allocations: 42.42 kB / 1.297 GB, free: 20.4 MB / 0.9981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * 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.001091/1.605, allocations: 0.4899 MB / 1.298 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/1.605, allocations: 148.5 kB / 1.298 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/1.606, allocations: 0.8299 MB / 1.299 GB, free: 20.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.606, allocations: 7.781 kB / 1.299 GB, free: 20.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.606, allocations: 0 / 1.299 GB, free: 20.06 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007874/1.607, allocations: 0.781 MB / 1.299 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/1.611, allocations: 2.308 MB / 1.302 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.611, allocations: 0 / 1.302 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/1.611, allocations: 165.4 kB / 1.302 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/1.612, allocations: 6.281 kB / 1.302 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/1.612, allocations: 22.12 kB / 1.302 GB, free: 19.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/1.612, allocations: 8.781 kB / 1.302 GB, free: 19.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.612, allocations: 2.734 kB / 1.302 GB, free: 19.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/1.613, allocations: 1.337 MB / 1.303 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008173/1.614, allocations: 322.2 kB / 1.303 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/1.614, allocations: 19.91 kB / 1.303 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.615, allocations: 91.84 kB / 1.303 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/1.615, allocations: 50.97 kB / 1.304 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/1.616, allocations: 35.16 kB / 1.304 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001211/1.617, allocations: 0.8944 MB / 1.304 GB, free: 18.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.617, allocations: 0 / 1.304 GB, free: 18.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002376/1.619, allocations: 0.8367 MB / 1.305 GB, free: 18.62 MB / 0.9981 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 (71): * Single equations (assignments): 71 * 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.0005551/1.62, allocations: 262.2 kB / 1.305 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002007/1.622, allocations: 1.326 MB / 1.307 GB, free: 18.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.622, allocations: 4.188 kB / 1.307 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004406/1.622, allocations: 342.1 kB / 1.307 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004022/1.626, allocations: 0.8214 MB / 1.308 GB, free: 18.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/1.631, allocations: 3.485 MB / 1.311 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/1.631, allocations: 1.385 MB / 1.313 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00182/1.633, allocations: 405.3 kB / 1.313 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/1.634, allocations: 116.8 kB / 1.313 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.634, allocations: 0 / 1.313 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.0382/1.672, allocations: 27.08 MB / 1.34 GB, free: 6.293 MB / 0.9981 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