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.001302/0.001302, allocations: 113 kB / 16.42 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.001217/0.001217, allocations: 185.7 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 1.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.88 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6587, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.3026/0.9613, allocations: 328.4 MB / 1.542 GB, free: 8.699 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.6771/1.638, allocations: 30.04 MB / 1.571 GB, free: 2.426 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/1.642, allocations: 97.41 kB / 1.571 GB, free: 2.426 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.004872/1.647, allocations: 2.174 MB / 1.573 GB, free: 2.426 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/1.658, allocations: 5.176 MB / 1.578 GB, free: 2.41 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008169/1.666, allocations: 3.693 MB / 1.582 GB, free: 2.289 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.009272/1.676, allocations: 6.972 MB / 1.589 GB, free: 2.254 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00404/1.68, allocations: 2.861 MB / 1.591 GB, free: 17.93 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/1.691, allocations: 5.471 MB / 1.597 GB, free: 17.84 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004227/1.695, allocations: 2.415 MB / 1.599 GB, free: 17.84 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.000656/1.696, allocations: 297.2 kB / 1.599 GB, free: 17.84 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00845/1.705, allocations: 4.824 MB / 1.604 GB, free: 17.79 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009884/1.706, allocations: 1.067 MB / 1.605 GB, free: 17.79 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002202/1.708, allocations: 1.737 MB / 1.607 GB, free: 17.79 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007876/1.716, allocations: 5.746 MB / 1.613 GB, free: 17.22 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.716, allocations: 7.188 kB / 1.613 GB, free: 17.22 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.473e-06/1.716, allocations: 2.5 kB / 1.613 GB, free: 17.22 MB / 1.295 GB Notification: Performance of Transformations before backend: time 5.988e-05/1.716, allocations: 0.875 kB / 1.613 GB, free: 17.22 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.006673/1.722, allocations: 3.693 MB / 1.616 GB, free: 15.53 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/1.722, allocations: 7.875 kB / 1.616 GB, free: 15.53 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/1.732, allocations: 1.464 MB / 1.618 GB, free: 15.37 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/1.737, allocations: 2.084 MB / 1.62 GB, free: 14.79 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.737, allocations: 175.9 kB / 1.62 GB, free: 14.78 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/1.737, allocations: 221.3 kB / 1.62 GB, free: 14.78 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005564/1.743, allocations: 3.029 MB / 1.623 GB, free: 14.44 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/1.743, allocations: 7.219 kB / 1.623 GB, free: 14.44 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/1.743, allocations: 87.44 kB / 1.623 GB, free: 14.44 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/1.743, allocations: 91.88 kB / 1.623 GB, free: 14.43 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/1.75, allocations: 3.11 MB / 1.626 GB, free: 14.4 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.02061/1.77, allocations: 14.01 MB / 1.64 GB, free: 6.832 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/1.774, allocations: 1.649 MB / 1.641 GB, free: 6.777 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/1.776, allocations: 0.7756 MB / 1.642 GB, free: 6.754 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/1.777, allocations: 322.6 kB / 1.643 GB, free: 6.473 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.777, allocations: 49.41 kB / 1.643 GB, free: 6.434 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009786/1.778, allocations: 199.2 kB / 1.643 GB, free: 6.34 MB / 1.295 GB Notification: Performance of pre-optimization done (n=110): time 5.039e-06/1.778, allocations: 0 / 1.643 GB, free: 6.34 MB / 1.295 GB Notification: Performance of matching and sorting (n=110): time 0.005397/1.783, allocations: 2.37 MB / 1.645 GB, free: 6.125 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/1.783, allocations: 67.5 kB / 1.645 GB, free: 6.062 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/1.786, allocations: 2.511 MB / 1.648 GB, free: 5.805 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/1.786, allocations: 56.36 kB / 1.648 GB, free: 5.773 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007775/1.787, allocations: 1.266 MB / 1.649 GB, free: 5.312 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/1.787, allocations: 386.7 kB / 1.649 GB, free: 5.074 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/1.788, allocations: 383.4 kB / 1.65 GB, free: 5.031 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/1.788, allocations: 303.6 kB / 1.65 GB, free: 4.734 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.79, allocations: 0.9457 MB / 1.651 GB, free: 4.699 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/1.793, allocations: 1.57 MB / 1.652 GB, free: 3.961 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/1.797, allocations: 2.227 MB / 1.655 GB, free: 3.359 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.797, allocations: 2.781 kB / 1.655 GB, free: 3.359 MB / 1.295 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005816/1.803, allocations: 2.752 MB / 1.657 GB, free: 3.066 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/1.803, allocations: 72.94 kB / 1.657 GB, free: 3.004 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.803, allocations: 13.56 kB / 1.657 GB, free: 3.004 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/1.803, allocations: 26.56 kB / 1.657 GB, free: 3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/1.806, allocations: 0.5487 MB / 1.658 GB, free: 2.984 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/1.807, allocations: 2.387 MB / 1.66 GB, free: 0.6406 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/1.81, allocations: 286.6 kB / 1.66 GB, free: 0.6211 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.811, allocations: 87.17 kB / 1.661 GB, free: 0.6211 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002999/1.814, allocations: 1.381 MB / 1.662 GB, free: 0.5195 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002683/1.816, allocations: 1.559 MB / 1.663 GB, free: 15.79 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004192/1.82, allocations: 2.229 MB / 1.666 GB, free: 15.18 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/1.82, allocations: 2.406 kB / 1.666 GB, free: 15.18 MB / 1.311 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005795/1.826, allocations: 2.743 MB / 1.668 GB, free: 14.89 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/1.826, allocations: 73.12 kB / 1.668 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.826, allocations: 15.31 kB / 1.668 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.826, allocations: 19.16 kB / 1.668 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.829, allocations: 0.4996 MB / 1.669 GB, free: 14.81 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/1.829, allocations: 30.67 kB / 1.669 GB, free: 14.81 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/1.832, allocations: 297.9 kB / 1.669 GB, free: 14.79 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.832, allocations: 87.44 kB / 1.669 GB, free: 14.79 MB / 1.311 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.0005105/1.833, allocations: 303.1 kB / 1.67 GB, free: 14.59 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/1.833, allocations: 259 kB / 1.67 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.837, allocations: 1.844 MB / 1.672 GB, free: 14.34 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.837, allocations: 6 kB / 1.672 GB, free: 14.34 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.837, allocations: 0 / 1.672 GB, free: 14.34 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.838, allocations: 0.516 MB / 1.672 GB, free: 14.12 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004605/1.839, allocations: 19.31 kB / 1.672 GB, free: 14.12 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.841, allocations: 171.3 kB / 1.672 GB, free: 14.11 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.841, allocations: 64.45 kB / 1.672 GB, free: 14.1 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004615/1.846, allocations: 1.737 MB / 1.674 GB, free: 13.92 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005476/1.851, allocations: 2.803 MB / 1.677 GB, free: 13.53 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001515/1.853, allocations: 0.7152 MB / 1.677 GB, free: 13.51 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00299/1.856, allocations: 1.73 MB / 1.679 GB, free: 13.36 MB / 1.311 GB Notification: Performance of Backend: time 4.61e-07/1.856, allocations: 4 kB / 1.679 GB, free: 13.36 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.866, allocations: 3.902 MB / 1.683 GB, free: 12.77 MB / 1.311 GB Notification: Performance of SimCode: time 0.01009/1.876, allocations: 5.035 MB / 1.688 GB, free: 10.62 MB / 1.311 GB Notification: Performance of Templates: time 0.09803/1.974, allocations: 66 MB / 1.752 GB, free: 15.84 MB / 1.373 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