Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005431/0.005431, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001076/0.001076, allocations: 195 kB / 16.67 MB, free: 5.977 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.897/0.8982, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2908/1.189, allocations: 274.6 MB / 1.435 GB, free: 220 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02396/1.213, allocations: 17.36 MB / 1.452 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/1.216, allocations: 71.56 kB / 1.452 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003309/1.219, allocations: 1.161 MB / 1.453 GB, free: 13.56 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008249/1.227, allocations: 3.104 MB / 1.456 GB, free: 10.45 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005732/1.233, allocations: 2.212 MB / 1.458 GB, free: 8.238 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006928/1.24, allocations: 4.843 MB / 1.463 GB, free: 3.379 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/1.243, allocations: 1.767 MB / 1.465 GB, free: 1.578 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006481/1.25, allocations: 2.41 MB / 1.467 GB, free: 15.17 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/1.253, allocations: 1.537 MB / 1.468 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0009072/1.254, allocations: 196 kB / 1.469 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007681/1.262, allocations: 3.016 MB / 1.472 GB, free: 10.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/1.263, allocations: 0.7207 MB / 1.472 GB, free: 9.703 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/1.266, allocations: 1.116 MB / 1.473 GB, free: 8.582 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009388/1.275, allocations: 3.843 MB / 1.477 GB, free: 4.727 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.276, allocations: 3.938 kB / 1.477 GB, free: 4.723 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/1.276, allocations: 0 / 1.477 GB, free: 4.723 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001238/1.276, allocations: 0 / 1.477 GB, free: 4.723 MB / 1.201 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.006701/1.282, allocations: 2.491 MB / 1.48 GB, free: 2.16 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.282, allocations: 16.88 kB / 1.48 GB, free: 2.145 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/1.287, allocations: 0.6583 MB / 1.48 GB, free: 1.484 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/1.291, allocations: 1.41 MB / 1.482 GB, free: 20 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.291, allocations: 106.6 kB / 1.482 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/1.291, allocations: 136 kB / 1.482 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/1.295, allocations: 1.573 MB / 1.483 GB, free: 14.14 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/1.295, allocations: 4 kB / 1.483 GB, free: 14.14 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/1.295, allocations: 55.94 kB / 1.483 GB, free: 14.08 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/1.295, allocations: 46.45 kB / 1.483 GB, free: 14.04 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/1.298, allocations: 1.274 MB / 1.485 GB, free: 12.75 MB / 1.217 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.01094/1.309, allocations: 7.22 MB / 1.492 GB, free: 4.973 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/1.31, allocations: 0.6528 MB / 1.492 GB, free: 4.312 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/1.311, allocations: 366.4 kB / 1.493 GB, free: 3.953 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/1.311, allocations: 105.6 kB / 1.493 GB, free: 3.832 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/1.311, allocations: 47.12 kB / 1.493 GB, free: 3.773 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007113/1.312, allocations: 99.39 kB / 1.493 GB, free: 3.676 MB / 1.217 GB Notification: Performance of pre-optimization done (n=67): time 4.218e-06/1.312, allocations: 0 / 1.493 GB, free: 3.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=67): time 0.002237/1.314, allocations: 1.025 MB / 1.494 GB, free: 2.648 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/1.314, allocations: 63.97 kB / 1.494 GB, free: 2.574 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/1.316, allocations: 1.339 MB / 1.495 GB, free: 1.227 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/1.316, allocations: 45.7 kB / 1.495 GB, free: 1.176 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/1.317, allocations: 0.7869 MB / 1.496 GB, free: 392 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/1.317, allocations: 253.8 kB / 1.496 GB, free: 136 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/1.318, allocations: 210.5 kB / 1.497 GB, free: 15.92 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.318, allocations: 345.9 kB / 1.497 GB, free: 15.58 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/1.319, allocations: 360.7 kB / 1.497 GB, free: 15.22 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/1.319, allocations: 0.6792 MB / 1.498 GB, free: 14.41 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.321, allocations: 0.9604 MB / 1.499 GB, free: 13.35 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/1.321, allocations: 4 kB / 1.499 GB, free: 13.35 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002077/1.323, allocations: 1.156 MB / 1.5 GB, free: 12.18 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.323, allocations: 5.719 kB / 1.5 GB, free: 12.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.323, allocations: 8 kB / 1.5 GB, free: 12.17 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/1.323, allocations: 12 kB / 1.5 GB, free: 12.16 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009312/1.324, allocations: 208.3 kB / 1.5 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.042e-05/1.324, allocations: 19.94 kB / 1.5 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.326, allocations: 47.92 kB / 1.5 GB, free: 11.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.326, allocations: 43.98 kB / 1.5 GB, free: 11.85 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001363/1.327, allocations: 0.6815 MB / 1.501 GB, free: 11.16 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008943/1.328, allocations: 0.6751 MB / 1.502 GB, free: 10.35 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/1.329, allocations: 0.9565 MB / 1.503 GB, free: 9.301 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.684e-06/1.329, allocations: 4 kB / 1.503 GB, free: 9.297 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002032/1.331, allocations: 1.165 MB / 1.504 GB, free: 8.129 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.331, allocations: 8 kB / 1.504 GB, free: 8.121 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.331, allocations: 8.062 kB / 1.504 GB, free: 8.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.331, allocations: 12 kB / 1.504 GB, free: 8.102 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/1.332, allocations: 211.7 kB / 1.504 GB, free: 7.895 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/1.332, allocations: 12 kB / 1.504 GB, free: 7.883 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.334, allocations: 53.52 kB / 1.504 GB, free: 7.832 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/1.334, allocations: 40 kB / 1.504 GB, free: 7.793 MB / 1.232 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.0003389/1.335, allocations: 247.9 kB / 1.504 GB, free: 7.543 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/1.335, allocations: 159 kB / 1.504 GB, free: 7.387 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/1.337, allocations: 0.8202 MB / 1.505 GB, free: 6.551 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.337, allocations: 8 kB / 1.505 GB, free: 6.543 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.337, allocations: 3.938 kB / 1.505 GB, free: 6.539 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/1.338, allocations: 0.7863 MB / 1.506 GB, free: 5.707 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/1.342, allocations: 2.306 MB / 1.508 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/1.342, allocations: 4 kB / 1.508 GB, free: 3.316 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/1.343, allocations: 164 kB / 1.508 GB, free: 3.156 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/1.343, allocations: 4 kB / 1.508 GB, free: 3.152 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/1.343, allocations: 27.92 kB / 1.509 GB, free: 3.125 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/1.343, allocations: 4 kB / 1.509 GB, free: 3.121 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.343, allocations: 8 kB / 1.509 GB, free: 3.113 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/1.345, allocations: 1.266 MB / 1.51 GB, free: 1.812 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/1.346, allocations: 324 kB / 1.51 GB, free: 1.477 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/1.346, allocations: 23.94 kB / 1.51 GB, free: 1.453 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.347, allocations: 35.92 kB / 1.51 GB, free: 1.422 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/1.347, allocations: 40.52 kB / 1.51 GB, free: 1.383 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/1.347, allocations: 35.98 kB / 1.51 GB, free: 1.348 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001579/1.349, allocations: 0.9083 MB / 1.511 GB, free: 452 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.51e-07/1.349, allocations: 7.875 kB / 1.511 GB, free: 444 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.002502/1.351, allocations: 0.8461 MB / 1.512 GB, free: 15.59 MB / 1.248 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.0007202/1.352, allocations: 255.3 kB / 1.512 GB, free: 15.34 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002518/1.355, allocations: 1.339 MB / 1.513 GB, free: 14 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.355, allocations: 4 kB / 1.513 GB, free: 14 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/1.355, allocations: 347 kB / 1.514 GB, free: 13.66 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/1.36, allocations: 0.8321 MB / 1.515 GB, free: 12.84 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/1.365, allocations: 2.947 MB / 1.517 GB, free: 9.832 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.366, allocations: 1.348 MB / 1.519 GB, free: 8.453 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00176/1.368, allocations: 412.3 kB / 1.519 GB, free: 8.047 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/1.369, allocations: 115.4 kB / 1.519 GB, free: 7.934 MB / 1.248 GB Notification: Performance of SimCode: time 8.62e-07/1.369, allocations: 0 / 1.519 GB, free: 7.934 MB / 1.248 GB Notification: Performance of Templates: time 0.05356/1.422, allocations: 29.28 MB / 1.548 GB, free: 11.02 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches