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.001071/0.001071, allocations: 114.1 kB / 16.42 MB, free: 6.508 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.00112/0.00112, allocations: 187.9 kB / 17.34 MB, free: 5.738 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 461.7 MB / 0.7353 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6738, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2474/0.9212, allocations: 274.6 MB / 1.476 GB, free: 9.949 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.9421, allocations: 17.36 MB / 1.493 GB, free: 8.543 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.9444, allocations: 71.56 kB / 1.493 GB, free: 8.473 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.9474, allocations: 1.165 MB / 1.495 GB, free: 7.301 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007045/0.9545, allocations: 3.099 MB / 1.498 GB, free: 4.188 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005137/0.9596, allocations: 2.209 MB / 1.5 GB, free: 1.984 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005845/0.9655, allocations: 4.846 MB / 1.504 GB, free: 13.12 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.9677, allocations: 1.767 MB / 1.506 GB, free: 11.33 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/0.9726, allocations: 2.412 MB / 1.509 GB, free: 8.922 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.9751, allocations: 1.536 MB / 1.51 GB, free: 7.391 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000321/0.9755, allocations: 192 kB / 1.51 GB, free: 7.203 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/0.9809, allocations: 3.013 MB / 1.513 GB, free: 4.184 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007143/0.9816, allocations: 0.7246 MB / 1.514 GB, free: 3.457 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.9828, allocations: 1.112 MB / 1.515 GB, free: 2.34 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005258/0.9881, allocations: 3.825 MB / 1.519 GB, free: 14.5 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9881, allocations: 4 kB / 1.519 GB, free: 14.5 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9881, allocations: 7.844 kB / 1.519 GB, free: 14.49 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.046e-05/0.9882, allocations: 0 / 1.519 GB, free: 14.49 MB / 1.248 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.003911/0.9921, allocations: 2.423 MB / 1.521 GB, free: 12 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.9922, allocations: 12.03 kB / 1.521 GB, free: 11.99 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.9964, allocations: 0.6416 MB / 1.522 GB, free: 11.34 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.9986, allocations: 1.408 MB / 1.523 GB, free: 9.879 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.9987, allocations: 102.5 kB / 1.523 GB, free: 9.777 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.9989, allocations: 132 kB / 1.523 GB, free: 9.648 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.001, allocations: 1.573 MB / 1.525 GB, free: 8.008 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/1.001, allocations: 4 kB / 1.525 GB, free: 8.004 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.001, allocations: 63.94 kB / 1.525 GB, free: 7.941 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/1.002, allocations: 42.45 kB / 1.525 GB, free: 7.898 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/1.003, allocations: 1.274 MB / 1.526 GB, free: 6.617 MB / 1.248 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.007785/1.011, allocations: 7.206 MB / 1.533 GB, free: 14.84 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.012, allocations: 0.6416 MB / 1.534 GB, free: 14.19 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/1.013, allocations: 376 kB / 1.534 GB, free: 13.82 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/1.013, allocations: 109.6 kB / 1.534 GB, free: 13.7 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/1.013, allocations: 43.12 kB / 1.534 GB, free: 13.64 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004241/1.014, allocations: 99.11 kB / 1.534 GB, free: 13.55 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 3.266e-06/1.014, allocations: 0 / 1.534 GB, free: 13.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=67): time 0.001798/1.015, allocations: 1.016 MB / 1.535 GB, free: 12.53 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/1.015, allocations: 63.97 kB / 1.536 GB, free: 12.45 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.017, allocations: 1.339 MB / 1.537 GB, free: 11.1 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/1.017, allocations: 45.7 kB / 1.537 GB, free: 11.05 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/1.018, allocations: 0.7774 MB / 1.538 GB, free: 10.27 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/1.018, allocations: 236.6 kB / 1.538 GB, free: 10.03 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/1.018, allocations: 210.3 kB / 1.538 GB, free: 9.82 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.018, allocations: 345.9 kB / 1.538 GB, free: 9.477 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/1.019, allocations: 360.7 kB / 1.539 GB, free: 9.121 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/1.02, allocations: 0.683 MB / 1.539 GB, free: 8.293 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.021, allocations: 0.9488 MB / 1.54 GB, free: 7.258 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.021, allocations: 0 / 1.54 GB, free: 7.258 MB / 1.264 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00183/1.023, allocations: 1.151 MB / 1.541 GB, free: 6.098 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.023, allocations: 15.03 kB / 1.541 GB, free: 6.086 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.023, allocations: 8 kB / 1.541 GB, free: 6.078 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.023, allocations: 15.98 kB / 1.542 GB, free: 6.062 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/1.024, allocations: 207.7 kB / 1.542 GB, free: 5.859 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/1.024, allocations: 15.94 kB / 1.542 GB, free: 5.844 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.025, allocations: 43.97 kB / 1.542 GB, free: 5.801 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/1.025, allocations: 43.98 kB / 1.542 GB, free: 5.758 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009966/1.026, allocations: 0.6815 MB / 1.542 GB, free: 5.074 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000773/1.027, allocations: 0.6751 MB / 1.543 GB, free: 4.258 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001216/1.028, allocations: 0.9605 MB / 1.544 GB, free: 3.207 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/1.028, allocations: 3.938 kB / 1.544 GB, free: 3.203 MB / 1.264 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00166/1.029, allocations: 1.148 MB / 1.545 GB, free: 2.051 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.029, allocations: 8 kB / 1.545 GB, free: 2.043 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.03, allocations: 11.98 kB / 1.545 GB, free: 2.031 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/1.03, allocations: 12 kB / 1.545 GB, free: 2.02 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/1.03, allocations: 207.7 kB / 1.545 GB, free: 1.816 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.03, allocations: 15.94 kB / 1.545 GB, free: 1.801 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.032, allocations: 51.91 kB / 1.545 GB, free: 1.75 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/1.032, allocations: 48.11 kB / 1.546 GB, free: 1.703 MB / 1.264 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.000228/1.032, allocations: 248.8 kB / 1.546 GB, free: 1.453 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.032, allocations: 150.1 kB / 1.546 GB, free: 1.305 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/1.033, allocations: 0.8203 MB / 1.547 GB, free: 472 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009799/1.034, allocations: 0.7901 MB / 1.547 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.034, allocations: 0 / 1.547 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/1.035, allocations: 323.1 kB / 1.548 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.035, allocations: 16 kB / 1.548 GB, free: 15.27 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/1.036, allocations: 37.59 kB / 1.548 GB, free: 15.23 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/1.036, allocations: 36.61 kB / 1.548 GB, free: 15.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001677/1.038, allocations: 0.8759 MB / 1.549 GB, free: 14.32 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00169/1.039, allocations: 1.342 MB / 1.55 GB, free: 12.95 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004346/1.04, allocations: 337.1 kB / 1.55 GB, free: 12.62 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001153/1.041, allocations: 0.9044 MB / 1.551 GB, free: 11.72 MB / 1.279 GB Notification: Performance of Backend: time 4.51e-07/1.041, allocations: 0 / 1.551 GB, free: 11.72 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003508/1.045, allocations: 1.759 MB / 1.553 GB, free: 9.973 MB / 1.279 GB Notification: Performance of SimCode: time 0.006122/1.051, allocations: 3.808 MB / 1.557 GB, free: 6.121 MB / 1.279 GB Notification: Performance of Templates: time 0.5579/1.609, allocations: 38.58 MB / 1.594 GB, free: 335.5 MB / 1.279 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches