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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007153/0.007154, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.001459/0.001459, allocations: 190 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 68.64 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3962, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.068/1.464, allocations: 274.6 MB / 1.356 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02053/1.485, allocations: 17.35 MB / 1.373 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004355/1.489, allocations: 71.5 kB / 1.373 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003864/1.493, allocations: 1.212 MB / 1.374 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/1.503, allocations: 3.226 MB / 1.377 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006146/1.509, allocations: 2.238 MB / 1.38 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007493/1.517, allocations: 4.856 MB / 1.384 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/1.52, allocations: 1.762 MB / 1.386 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007225/1.527, allocations: 2.498 MB / 1.389 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/1.53, allocations: 1.544 MB / 1.39 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006027/1.531, allocations: 191.4 kB / 1.39 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006144/1.537, allocations: 3.027 MB / 1.393 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/1.538, allocations: 0.7204 MB / 1.394 GB, free: 8.812 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002357/1.541, allocations: 1.118 MB / 1.395 GB, free: 8.176 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007096/1.548, allocations: 3.84 MB / 1.399 GB, free: 6.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.548, allocations: 0 / 1.399 GB, free: 6.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/1.548, allocations: 0 / 1.399 GB, free: 6.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.882e-05/1.548, allocations: 0 / 1.399 GB, free: 6.27 MB / 1.029 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.004752/1.553, allocations: 2.426 MB / 1.401 GB, free: 4.516 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.553, allocations: 10.84 kB / 1.401 GB, free: 4.516 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/1.557, allocations: 0.6355 MB / 1.402 GB, free: 4.262 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/1.56, allocations: 1.401 MB / 1.403 GB, free: 3.258 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/1.56, allocations: 104.7 kB / 1.403 GB, free: 3.207 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.56, allocations: 144.2 kB / 1.403 GB, free: 3.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/1.562, allocations: 1.565 MB / 1.405 GB, free: 2.176 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/1.562, allocations: 0 / 1.405 GB, free: 2.176 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/1.563, allocations: 53.5 kB / 1.405 GB, free: 2.137 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/1.563, allocations: 55.38 kB / 1.405 GB, free: 2.129 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/1.565, allocations: 1.266 MB / 1.406 GB, free: 1.492 MB / 1.029 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.009284/1.574, allocations: 7.207 MB / 1.413 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/1.575, allocations: 0.6533 MB / 1.414 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/1.576, allocations: 364.9 kB / 1.414 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/1.576, allocations: 107.9 kB / 1.414 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/1.576, allocations: 44.34 kB / 1.414 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007132/1.577, allocations: 110.3 kB / 1.414 GB, free: 10.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=67): time 4.759e-06/1.577, allocations: 0 / 1.414 GB, free: 10.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=67): time 0.002059/1.579, allocations: 1.018 MB / 1.415 GB, free: 10 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.579, allocations: 57.5 kB / 1.416 GB, free: 9.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/1.581, allocations: 1.342 MB / 1.417 GB, free: 9.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/1.581, allocations: 46.08 kB / 1.417 GB, free: 9.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/1.581, allocations: 0.7772 MB / 1.418 GB, free: 8.492 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.581, allocations: 241.3 kB / 1.418 GB, free: 8.285 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/1.582, allocations: 201.7 kB / 1.418 GB, free: 8.168 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.582, allocations: 344.1 kB / 1.418 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/1.582, allocations: 356.7 kB / 1.419 GB, free: 7.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/1.583, allocations: 0.6855 MB / 1.419 GB, free: 7.055 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.584, allocations: 0.9527 MB / 1.42 GB, free: 6.418 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.584, allocations: 2.375 kB / 1.42 GB, free: 6.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001847/1.586, allocations: 1.156 MB / 1.421 GB, free: 5.836 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.586, allocations: 16.59 kB / 1.421 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.586, allocations: 6.531 kB / 1.421 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.586, allocations: 10.47 kB / 1.422 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/1.587, allocations: 206.9 kB / 1.422 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/1.587, allocations: 19.36 kB / 1.422 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.589, allocations: 41.3 kB / 1.422 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.722e-05/1.589, allocations: 44.27 kB / 1.422 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001054/1.59, allocations: 0.6847 MB / 1.422 GB, free: 5.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007626/1.591, allocations: 0.6791 MB / 1.423 GB, free: 4.734 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001224/1.592, allocations: 0.9506 MB / 1.424 GB, free: 4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.842e-06/1.592, allocations: 4.938 kB / 1.424 GB, free: 3.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001842/1.594, allocations: 1.151 MB / 1.425 GB, free: 2.836 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.594, allocations: 8 kB / 1.425 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.594, allocations: 8.047 kB / 1.425 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.594, allocations: 15.94 kB / 1.425 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/1.595, allocations: 211.7 kB / 1.425 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/1.595, allocations: 15.98 kB / 1.425 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/1.596, allocations: 58.78 kB / 1.425 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/1.596, allocations: 40 kB / 1.426 GB, free: 2.488 MB / 1.045 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002968/1.596, allocations: 243.9 kB / 1.426 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/1.597, allocations: 162 kB / 1.426 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/1.598, allocations: 0.8202 MB / 1.427 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.598, allocations: 8 kB / 1.427 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.598, allocations: 0 / 1.427 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009761/1.599, allocations: 0.7902 MB / 1.428 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/1.603, allocations: 2.302 MB / 1.43 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.603, allocations: 4 kB / 1.43 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/1.603, allocations: 167.7 kB / 1.43 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.603, allocations: 4 kB / 1.43 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/1.603, allocations: 23.98 kB / 1.43 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/1.603, allocations: 4 kB / 1.43 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.603, allocations: 4.188 kB / 1.43 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.605, allocations: 1.257 MB / 1.431 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/1.606, allocations: 327.2 kB / 1.431 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.606, allocations: 16 kB / 1.432 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/1.607, allocations: 39.36 kB / 1.432 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/1.607, allocations: 40.45 kB / 1.432 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/1.607, allocations: 43.91 kB / 1.432 GB, free: 12.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001252/1.608, allocations: 0.9044 MB / 1.433 GB, free: 11.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.593e-06/1.608, allocations: 4 kB / 1.433 GB, free: 11.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00183/1.61, allocations: 0.8371 MB / 1.433 GB, free: 10.32 MB / 1.061 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004913/1.611, allocations: 249.7 kB / 1.434 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002996/1.614, allocations: 1.335 MB / 1.435 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.614, allocations: 4 kB / 1.435 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007293/1.615, allocations: 347 kB / 1.435 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/1.619, allocations: 0.8391 MB / 1.436 GB, free: 7.582 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006492/1.626, allocations: 2.899 MB / 1.439 GB, free: 4.637 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.627, allocations: 1.348 MB / 1.44 GB, free: 3.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002277/1.63, allocations: 420.3 kB / 1.441 GB, free: 2.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/1.63, allocations: 115.4 kB / 1.441 GB, free: 2.734 MB / 1.061 GB Notification: Performance of SimCode: time 9.91e-07/1.63, allocations: 0 / 1.441 GB, free: 2.734 MB / 1.061 GB Notification: Performance of Templates: time 0.0494/1.68, allocations: 29.27 MB / 1.469 GB, free: 5.863 MB / 1.092 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches