Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ReverseFlowMassExchanger,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|cheTem1.y|cheEnt1.y|cheMas1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,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|cheTem1.y|cheEnt1.y|cheMas1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.002299/0.002299, allocations: 189.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.6/2.6, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.415/5.415, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 63.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496/1.498, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7505/2.249, allocations: 328.4 MB / 1.529 GB, free: 3.949 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0723/2.321, allocations: 30.06 MB / 1.559 GB, free: 5.805 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005466/2.327, allocations: 99.44 kB / 1.559 GB, free: 5.707 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.0141/2.341, allocations: 2.105 MB / 1.561 GB, free: 3.59 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 1.383/3.724, allocations: 4.967 MB / 1.566 GB, free: 5.82 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01644/3.741, allocations: 3.651 MB / 1.569 GB, free: 5.801 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01756/3.758, allocations: 6.948 MB / 1.576 GB, free: 5.777 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/3.768, allocations: 2.859 MB / 1.579 GB, free: 21.47 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02315/3.792, allocations: 5.353 MB / 1.584 GB, free: 21.45 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007847/3.8, allocations: 2.416 MB / 1.586 GB, free: 21.45 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/3.801, allocations: 294.5 kB / 1.587 GB, free: 21.45 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01699/3.818, allocations: 4.813 MB / 1.591 GB, free: 21.43 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003268/3.822, allocations: 1.069 MB / 1.592 GB, free: 21.43 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005454/3.827, allocations: 1.73 MB / 1.594 GB, free: 21.43 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01724/3.844, allocations: 5.755 MB / 1.6 GB, free: 21.04 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/3.845, allocations: 0 / 1.6 GB, free: 21.04 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.144e-06/3.845, allocations: 0 / 1.6 GB, free: 21.04 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001627/3.845, allocations: 3.625 kB / 1.6 GB, free: 21.04 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01462/3.859, allocations: 3.694 MB / 1.603 GB, free: 19.36 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 8.356e-05/3.859, allocations: 12.41 kB / 1.603 GB, free: 19.35 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/3.878, allocations: 1.468 MB / 1.605 GB, free: 19.19 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008814/3.887, allocations: 2.076 MB / 1.607 GB, free: 18.62 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/3.887, allocations: 170.6 kB / 1.607 GB, free: 18.61 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/3.888, allocations: 216.7 kB / 1.607 GB, free: 18.61 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/3.9, allocations: 3.032 MB / 1.61 GB, free: 18.27 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-05/3.901, allocations: 6.625 kB / 1.61 GB, free: 18.27 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004908/3.901, allocations: 92.44 kB / 1.61 GB, free: 18.27 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/3.901, allocations: 87.62 kB / 1.61 GB, free: 18.26 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/3.917, allocations: 3.106 MB / 1.613 GB, free: 18.23 MB / 1.295 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.04315/3.96, allocations: 14.01 MB / 1.627 GB, free: 10.72 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/3.967, allocations: 1.651 MB / 1.629 GB, free: 10.68 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/3.97, allocations: 0.7718 MB / 1.629 GB, free: 10.66 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/3.971, allocations: 324.3 kB / 1.63 GB, free: 10.38 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.351e-05/3.972, allocations: 50.31 kB / 1.63 GB, free: 10.34 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002102/3.974, allocations: 201.7 kB / 1.63 GB, free: 10.24 MB / 1.295 GB Notification: Performance of pre-optimization done (n=110): time 9.237e-06/3.974, allocations: 0 / 1.63 GB, free: 10.24 MB / 1.295 GB Notification: Performance of matching and sorting (n=110): time 0.01156/3.985, allocations: 2.358 MB / 1.632 GB, free: 10.03 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/3.985, allocations: 66.56 kB / 1.632 GB, free: 9.969 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008105/3.993, allocations: 2.509 MB / 1.635 GB, free: 9.715 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/3.994, allocations: 60.98 kB / 1.635 GB, free: 9.68 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/3.996, allocations: 1.272 MB / 1.636 GB, free: 9.219 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000626/3.996, allocations: 384.3 kB / 1.636 GB, free: 8.977 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/3.997, allocations: 388.2 kB / 1.637 GB, free: 8.938 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001501/3.997, allocations: 305.1 kB / 1.637 GB, free: 8.637 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/4.002, allocations: 0.9516 MB / 1.638 GB, free: 8.602 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005254/4.007, allocations: 1.562 MB / 1.639 GB, free: 7.867 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/4.016, allocations: 2.229 MB / 1.642 GB, free: 7.266 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-05/4.016, allocations: 2.75 kB / 1.642 GB, free: 7.266 MB / 1.295 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.01324/4.03, allocations: 2.743 MB / 1.644 GB, free: 6.973 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/4.03, allocations: 70.67 kB / 1.644 GB, free: 6.91 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/4.03, allocations: 11.97 kB / 1.644 GB, free: 6.91 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.873e-05/4.03, allocations: 22.59 kB / 1.644 GB, free: 6.91 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/4.035, allocations: 0.5481 MB / 1.645 GB, free: 6.895 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/4.037, allocations: 2.389 MB / 1.647 GB, free: 4.551 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00647/4.044, allocations: 285.1 kB / 1.648 GB, free: 4.535 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006591/4.045, allocations: 91 kB / 1.648 GB, free: 4.535 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005949/4.051, allocations: 1.383 MB / 1.649 GB, free: 4.43 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005169/4.056, allocations: 1.563 MB / 1.65 GB, free: 3.703 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008896/4.065, allocations: 2.219 MB / 1.653 GB, free: 3.102 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.509e-05/4.065, allocations: 7.281 kB / 1.653 GB, free: 3.098 MB / 1.295 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.01329/4.078, allocations: 2.744 MB / 1.655 GB, free: 2.801 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/4.078, allocations: 73.67 kB / 1.655 GB, free: 2.738 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.267e-05/4.079, allocations: 16.72 kB / 1.655 GB, free: 2.734 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.392e-05/4.079, allocations: 31.06 kB / 1.655 GB, free: 2.727 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/4.083, allocations: 0.4941 MB / 1.656 GB, free: 2.719 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.327e-05/4.083, allocations: 29.7 kB / 1.656 GB, free: 2.719 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006532/4.089, allocations: 294.7 kB / 1.656 GB, free: 2.703 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006455/4.09, allocations: 91.84 kB / 1.656 GB, free: 2.703 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001206/4.091, allocations: 297.9 kB / 1.657 GB, free: 2.508 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/4.093, allocations: 263.4 kB / 1.657 GB, free: 2.371 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008309/4.101, allocations: 1.833 MB / 1.659 GB, free: 2.258 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/4.101, allocations: 6.375 kB / 1.659 GB, free: 2.258 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/4.101, allocations: 2.781 kB / 1.659 GB, free: 2.258 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/4.104, allocations: 0.5175 MB / 1.659 GB, free: 2.031 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/4.105, allocations: 19.22 kB / 1.659 GB, free: 2.031 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004811/4.11, allocations: 174.1 kB / 1.659 GB, free: 2.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/4.11, allocations: 58.91 kB / 1.659 GB, free: 2.02 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008452/4.119, allocations: 1.735 MB / 1.661 GB, free: 1.84 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.011/4.13, allocations: 2.796 MB / 1.664 GB, free: 1.449 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003298/4.133, allocations: 0.72 MB / 1.665 GB, free: 1.434 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006516/4.14, allocations: 1.731 MB / 1.666 GB, free: 1.285 MB / 1.295 GB Notification: Performance of Backend: time 2.224e-06/4.14, allocations: 0 / 1.666 GB, free: 1.285 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02566/4.165, allocations: 3.905 MB / 1.67 GB, free: 0.6836 MB / 1.295 GB Notification: Performance of SimCode: time 0.02381/4.189, allocations: 5.028 MB / 1.675 GB, free: 14.55 MB / 1.311 GB Notification: Performance of Templates: time 0.2297/4.419, allocations: 67.33 MB / 1.741 GB, free: 8.496 MB / 1.357 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches