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.001289/0.001289, allocations: 119 kB / 16.42 MB, free: 6.473 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.001286/0.001286, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6559/0.6572, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2845/0.9418, allocations: 274.6 MB / 1.357 GB, free: 10.79 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02154/0.9633, allocations: 17.37 MB / 1.374 GB, free: 9.359 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.9656, allocations: 71.62 kB / 1.374 GB, free: 9.289 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.9686, allocations: 1.208 MB / 1.375 GB, free: 8.074 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007851/0.9764, allocations: 3.231 MB / 1.378 GB, free: 4.832 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.982, allocations: 2.224 MB / 1.38 GB, free: 2.613 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006434/0.9885, allocations: 4.859 MB / 1.385 GB, free: 13.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.9917, allocations: 1.759 MB / 1.387 GB, free: 11.95 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/0.9978, allocations: 2.507 MB / 1.389 GB, free: 9.449 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/1.001, allocations: 1.537 MB / 1.391 GB, free: 7.918 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005722/1.001, allocations: 192 kB / 1.391 GB, free: 7.73 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/1.007, allocations: 3.024 MB / 1.394 GB, free: 4.699 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009176/1.008, allocations: 0.7284 MB / 1.395 GB, free: 3.969 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001694/1.01, allocations: 1.124 MB / 1.396 GB, free: 2.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/1.015, allocations: 3.829 MB / 1.399 GB, free: 15 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.015, allocations: 0 / 1.399 GB, free: 15 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.352e-06/1.015, allocations: 0 / 1.399 GB, free: 15 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.273e-05/1.015, allocations: 0 / 1.399 GB, free: 15 MB / 1.139 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.004357/1.02, allocations: 2.439 MB / 1.402 GB, free: 12.49 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.02, allocations: 8.031 kB / 1.402 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/1.024, allocations: 0.6377 MB / 1.402 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/1.027, allocations: 1.4 MB / 1.404 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.142e-05/1.027, allocations: 106.5 kB / 1.404 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/1.027, allocations: 143.9 kB / 1.404 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/1.03, allocations: 1.561 MB / 1.406 GB, free: 8.512 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/1.03, allocations: 4 kB / 1.406 GB, free: 8.508 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/1.03, allocations: 59.94 kB / 1.406 GB, free: 8.449 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/1.03, allocations: 46.45 kB / 1.406 GB, free: 8.402 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/1.032, allocations: 1.266 MB / 1.407 GB, free: 7.129 MB / 1.139 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.008851/1.041, allocations: 7.21 MB / 1.414 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.042, allocations: 0.6461 MB / 1.415 GB, free: 14.7 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/1.043, allocations: 366.4 kB / 1.415 GB, free: 14.34 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/1.043, allocations: 105.6 kB / 1.415 GB, free: 14.22 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.043, allocations: 47.12 kB / 1.415 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005885/1.043, allocations: 107.1 kB / 1.415 GB, free: 14.05 MB / 1.154 GB Notification: Performance of pre-optimization done (n=67): time 4.158e-06/1.043, allocations: 0 / 1.415 GB, free: 14.05 MB / 1.154 GB Notification: Performance of matching and sorting (n=67): time 0.001984/1.045, allocations: 1.009 MB / 1.416 GB, free: 13.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/1.046, allocations: 59.97 kB / 1.416 GB, free: 12.97 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/1.047, allocations: 1.339 MB / 1.418 GB, free: 11.62 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/1.047, allocations: 45.7 kB / 1.418 GB, free: 11.57 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/1.048, allocations: 0.7814 MB / 1.418 GB, free: 10.78 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/1.048, allocations: 232.6 kB / 1.419 GB, free: 10.55 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/1.049, allocations: 206.4 kB / 1.419 GB, free: 10.34 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.049, allocations: 345.9 kB / 1.419 GB, free: 9.996 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/1.049, allocations: 360.6 kB / 1.419 GB, free: 9.641 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007986/1.05, allocations: 0.6851 MB / 1.42 GB, free: 8.816 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.051, allocations: 0.9487 MB / 1.421 GB, free: 7.777 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.051, allocations: 4 kB / 1.421 GB, free: 7.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001816/1.053, allocations: 1.156 MB / 1.422 GB, free: 6.609 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.053, allocations: 8 kB / 1.422 GB, free: 6.602 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.053, allocations: 8 kB / 1.422 GB, free: 6.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.053, allocations: 12 kB / 1.422 GB, free: 6.582 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/1.054, allocations: 215.6 kB / 1.422 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/1.054, allocations: 15.94 kB / 1.422 GB, free: 6.355 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.056, allocations: 43.97 kB / 1.422 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/1.056, allocations: 43.92 kB / 1.423 GB, free: 6.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00102/1.057, allocations: 0.6894 MB / 1.423 GB, free: 5.578 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007843/1.057, allocations: 0.6751 MB / 1.424 GB, free: 4.762 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001246/1.059, allocations: 0.9527 MB / 1.425 GB, free: 3.723 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.181e-06/1.059, allocations: 7.938 kB / 1.425 GB, free: 3.715 MB / 1.154 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001773/1.06, allocations: 1.148 MB / 1.426 GB, free: 2.555 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.06, allocations: 8.109 kB / 1.426 GB, free: 2.547 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.061, allocations: 7.938 kB / 1.426 GB, free: 2.539 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.061, allocations: 12 kB / 1.426 GB, free: 2.527 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/1.061, allocations: 215.6 kB / 1.426 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.061, allocations: 16.47 kB / 1.426 GB, free: 2.301 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.063, allocations: 55.91 kB / 1.426 GB, free: 2.246 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.063, allocations: 43.98 kB / 1.426 GB, free: 2.203 MB / 1.154 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.0002283/1.063, allocations: 240 kB / 1.426 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/1.063, allocations: 154.1 kB / 1.427 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.065, allocations: 0.8202 MB / 1.427 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000974/1.066, allocations: 0.7863 MB / 1.428 GB, free: 140 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.066, allocations: 3.938 kB / 1.428 GB, free: 136 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.066, allocations: 315.4 kB / 1.428 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/1.066, allocations: 16 kB / 1.429 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008823/1.067, allocations: 37.41 kB / 1.429 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/1.067, allocations: 40.61 kB / 1.429 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001729/1.069, allocations: 0.8758 MB / 1.429 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001726/1.071, allocations: 1.335 MB / 1.431 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004458/1.071, allocations: 342.8 kB / 1.431 GB, free: 13.14 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001166/1.072, allocations: 0.9083 MB / 1.432 GB, free: 12.23 MB / 1.17 GB Notification: Performance of Backend: time 4.01e-07/1.072, allocations: 0 / 1.432 GB, free: 12.23 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003556/1.076, allocations: 1.76 MB / 1.434 GB, free: 10.48 MB / 1.17 GB Notification: Performance of SimCode: time 0.006432/1.083, allocations: 3.799 MB / 1.437 GB, free: 6.641 MB / 1.17 GB Notification: Performance of Templates: time 0.05765/1.14, allocations: 38.88 MB / 1.475 GB, free: 144 kB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches