Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001139/0.001139, allocations: 111 kB / 16.41 MB, free: 6.465 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.001027/0.001027, allocations: 189.5 kB / 17.35 MB, free: 5.711 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 MB, free: 15.09 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.38/2.38, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.89 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6498/0.6512, allocations: 151.6 MB / 1.167 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.3097/0.961, allocations: 328.4 MB / 1.488 GB, free: 10.05 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03666/0.9976, allocations: 30.06 MB / 1.517 GB, free: 11.89 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/1.001, allocations: 99.44 kB / 1.518 GB, free: 11.8 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005216/1.006, allocations: 2.167 MB / 1.52 GB, free: 9.617 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/1.018, allocations: 5.196 MB / 1.525 GB, free: 4.402 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008461/1.027, allocations: 3.69 MB / 1.528 GB, free: 0.7266 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.008928/1.036, allocations: 6.959 MB / 1.535 GB, free: 9.746 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/1.04, allocations: 2.867 MB / 1.538 GB, free: 6.82 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01187/1.052, allocations: 5.46 MB / 1.543 GB, free: 1.367 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004526/1.056, allocations: 2.427 MB / 1.546 GB, free: 14.94 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0009751/1.057, allocations: 300 kB / 1.546 GB, free: 14.65 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00916/1.067, allocations: 4.817 MB / 1.551 GB, free: 9.82 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001616/1.068, allocations: 1.071 MB / 1.552 GB, free: 8.746 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003198/1.071, allocations: 1.734 MB / 1.553 GB, free: 7.004 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.082, allocations: 5.774 MB / 1.559 GB, free: 1.211 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.082, allocations: 0 / 1.559 GB, free: 1.211 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.713e-06/1.082, allocations: 0 / 1.559 GB, free: 1.211 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001337/1.082, allocations: 4 kB / 1.559 GB, free: 1.207 MB / 1.279 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.539/1.621, allocations: 3.792 MB / 1.563 GB, free: 391.1 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.621, allocations: 9.703 kB / 1.563 GB, free: 391.1 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/1.632, allocations: 1.481 MB / 1.564 GB, free: 390.9 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/1.635, allocations: 2.098 MB / 1.566 GB, free: 389.9 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/1.636, allocations: 166.6 kB / 1.566 GB, free: 389.8 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/1.636, allocations: 218.6 kB / 1.567 GB, free: 389.7 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005866/1.642, allocations: 3.039 MB / 1.57 GB, free: 388.5 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/1.642, allocations: 11.84 kB / 1.57 GB, free: 388.5 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/1.642, allocations: 91.67 kB / 1.57 GB, free: 388.4 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.143e-05/1.642, allocations: 90.48 kB / 1.57 GB, free: 388.4 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006547/1.649, allocations: 3.102 MB / 1.573 GB, free: 387.3 MB / 1.279 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.01799/1.667, allocations: 14.04 MB / 1.586 GB, free: 373.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/1.67, allocations: 1.651 MB / 1.588 GB, free: 372.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/1.672, allocations: 0.7711 MB / 1.589 GB, free: 371.5 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005179/1.672, allocations: 326 kB / 1.589 GB, free: 371.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/1.672, allocations: 55.19 kB / 1.589 GB, free: 371.1 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00106/1.673, allocations: 201.6 kB / 1.589 GB, free: 370.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=110): time 3.466e-06/1.673, allocations: 3.312 kB / 1.589 GB, free: 370.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=110): time 0.005093/1.678, allocations: 2.368 MB / 1.592 GB, free: 368.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/1.678, allocations: 64.41 kB / 1.592 GB, free: 368.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/1.681, allocations: 2.521 MB / 1.594 GB, free: 365.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/1.681, allocations: 57.7 kB / 1.594 GB, free: 365.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/1.682, allocations: 1.287 MB / 1.596 GB, free: 364.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/1.682, allocations: 415.4 kB / 1.596 GB, free: 364.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/1.683, allocations: 383.2 kB / 1.596 GB, free: 363.8 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.988e-05/1.683, allocations: 301.1 kB / 1.597 GB, free: 363.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/1.685, allocations: 0.9533 MB / 1.597 GB, free: 362.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/1.688, allocations: 1.566 MB / 1.599 GB, free: 360.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003943/1.692, allocations: 2.223 MB / 1.601 GB, free: 358.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.692, allocations: 4 kB / 1.601 GB, free: 358.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005797/1.697, allocations: 2.763 MB / 1.604 GB, free: 355.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/1.698, allocations: 76.14 kB / 1.604 GB, free: 355.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.698, allocations: 15.94 kB / 1.604 GB, free: 355.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/1.698, allocations: 24 kB / 1.604 GB, free: 355.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.7, allocations: 0.5437 MB / 1.605 GB, free: 354.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007881/1.701, allocations: 2.395 MB / 1.607 GB, free: 352.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/1.704, allocations: 283.8 kB / 1.607 GB, free: 352.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.704, allocations: 98.45 kB / 1.607 GB, free: 352 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002904/1.707, allocations: 1.374 MB / 1.609 GB, free: 350.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002489/1.71, allocations: 1.566 MB / 1.61 GB, free: 348.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003945/1.714, allocations: 2.213 MB / 1.612 GB, free: 346.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.707e-06/1.714, allocations: 6.656 kB / 1.612 GB, free: 346.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005876/1.72, allocations: 2.756 MB / 1.615 GB, free: 343.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/1.72, allocations: 75.39 kB / 1.615 GB, free: 343.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.72, allocations: 16 kB / 1.615 GB, free: 343.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.72, allocations: 20 kB / 1.615 GB, free: 343.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/1.722, allocations: 0.4915 MB / 1.616 GB, free: 343 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/1.722, allocations: 31.86 kB / 1.616 GB, free: 343 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/1.726, allocations: 298.7 kB / 1.616 GB, free: 342.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.726, allocations: 83.97 kB / 1.616 GB, free: 342.6 MB / 1.279 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.000437/1.726, allocations: 295.8 kB / 1.616 GB, free: 342.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/1.727, allocations: 278.2 kB / 1.617 GB, free: 342 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/1.731, allocations: 1.844 MB / 1.618 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.731, allocations: 3.984 kB / 1.618 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.731, allocations: 0 / 1.618 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009421/1.732, allocations: 0.5342 MB / 1.619 GB, free: 339.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/1.732, allocations: 16 kB / 1.619 GB, free: 339.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.734, allocations: 178.6 kB / 1.619 GB, free: 339.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.734, allocations: 56.92 kB / 1.619 GB, free: 339.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004237/1.738, allocations: 1.74 MB / 1.621 GB, free: 337.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005179/1.744, allocations: 2.812 MB / 1.624 GB, free: 334.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001462/1.745, allocations: 0.7182 MB / 1.624 GB, free: 334.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002415/1.747, allocations: 1.735 MB / 1.626 GB, free: 332.3 MB / 1.279 GB Notification: Performance of Backend: time 4.01e-07/1.748, allocations: 4 kB / 1.626 GB, free: 332.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009305/1.757, allocations: 3.903 MB / 1.63 GB, free: 328.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.007881/1.765, allocations: 5.116 MB / 1.635 GB, free: 323.4 MB / 1.279 GB Notification: Performance of Templates: time 0.08149/1.846, allocations: 66 MB / 1.699 GB, free: 257.9 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches