Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001617/0.001617, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001802/0.001802, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.17 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.14/2.14, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.672/0.6733, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.3101/0.9834, allocations: 328.4 MB / 1.409 GB, free: 4.715 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03411/1.018, allocations: 30.05 MB / 1.439 GB, free: 6.57 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/1.021, allocations: 99.44 kB / 1.439 GB, free: 6.473 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004845/1.026, allocations: 2.171 MB / 1.441 GB, free: 4.289 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/1.037, allocations: 5.185 MB / 1.446 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.008426/1.046, allocations: 3.683 MB / 1.45 GB, free: 11.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.008654/1.055, allocations: 6.977 MB / 1.456 GB, free: 4.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004331/1.059, allocations: 2.863 MB / 1.459 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/1.071, allocations: 5.458 MB / 1.465 GB, free: 12.04 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/1.075, allocations: 2.423 MB / 1.467 GB, free: 9.613 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0009857/1.076, allocations: 296 kB / 1.467 GB, free: 9.324 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008894/1.085, allocations: 4.829 MB / 1.472 GB, free: 4.484 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001426/1.087, allocations: 1.067 MB / 1.473 GB, free: 3.414 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/1.09, allocations: 1.742 MB / 1.475 GB, free: 1.664 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008989/1.099, allocations: 5.742 MB / 1.48 GB, free: 11.9 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.099, allocations: 0 / 1.48 GB, free: 11.9 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.533e-06/1.099, allocations: 7.938 kB / 1.48 GB, free: 11.89 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.000192/1.099, allocations: 0 / 1.48 GB, free: 11.89 MB / 1.217 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.00877/1.108, allocations: 3.692 MB / 1.484 GB, free: 8.121 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.108, allocations: 11.97 kB / 1.484 GB, free: 8.109 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.118, allocations: 1.464 MB / 1.485 GB, free: 6.641 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/1.122, allocations: 2.077 MB / 1.487 GB, free: 4.484 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/1.122, allocations: 168.1 kB / 1.487 GB, free: 4.316 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004701/1.123, allocations: 220 kB / 1.488 GB, free: 4.102 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006192/1.129, allocations: 3.027 MB / 1.491 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/1.129, allocations: 7.938 kB / 1.491 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/1.129, allocations: 88 kB / 1.491 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-05/1.13, allocations: 88 kB / 1.491 GB, free: 0.75 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00687/1.136, allocations: 3.107 MB / 1.494 GB, free: 13.62 MB / 1.232 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.02094/1.157, allocations: 14.02 MB / 1.508 GB, free: 14.5 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/1.161, allocations: 1.653 MB / 1.509 GB, free: 12.84 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/1.163, allocations: 0.7694 MB / 1.51 GB, free: 12.07 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/1.164, allocations: 332.8 kB / 1.51 GB, free: 11.68 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/1.164, allocations: 51.5 kB / 1.51 GB, free: 11.62 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009417/1.165, allocations: 198.1 kB / 1.51 GB, free: 11.43 MB / 1.248 GB Notification: Performance of pre-optimization done (n=110): time 5.541e-06/1.165, allocations: 4 kB / 1.51 GB, free: 11.43 MB / 1.248 GB Notification: Performance of matching and sorting (n=110): time 0.005764/1.171, allocations: 2.348 MB / 1.513 GB, free: 9.074 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.171, allocations: 68.34 kB / 1.513 GB, free: 8.992 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/1.175, allocations: 2.513 MB / 1.515 GB, free: 6.461 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/1.175, allocations: 57.7 kB / 1.515 GB, free: 6.398 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009335/1.176, allocations: 1.261 MB / 1.517 GB, free: 5.121 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/1.176, allocations: 390.4 kB / 1.517 GB, free: 4.734 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006704/1.177, allocations: 391 kB / 1.517 GB, free: 4.348 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/1.177, allocations: 305.1 kB / 1.518 GB, free: 4.047 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/1.179, allocations: 0.9416 MB / 1.519 GB, free: 3.102 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/1.182, allocations: 1.574 MB / 1.52 GB, free: 1.262 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/1.187, allocations: 2.224 MB / 1.522 GB, free: 14.84 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.187, allocations: 4 kB / 1.522 GB, free: 14.84 MB / 1.264 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006641/1.194, allocations: 2.751 MB / 1.525 GB, free: 12.07 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/1.194, allocations: 75.39 kB / 1.525 GB, free: 11.98 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.194, allocations: 12 kB / 1.525 GB, free: 11.97 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/1.194, allocations: 23.98 kB / 1.525 GB, free: 11.95 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/1.197, allocations: 0.5462 MB / 1.526 GB, free: 11.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/1.198, allocations: 2.399 MB / 1.528 GB, free: 8.906 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.201, allocations: 281.1 kB / 1.528 GB, free: 8.633 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.202, allocations: 91.95 kB / 1.528 GB, free: 8.543 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003226/1.205, allocations: 1.378 MB / 1.53 GB, free: 7.16 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002849/1.208, allocations: 1.566 MB / 1.531 GB, free: 5.332 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004513/1.212, allocations: 2.213 MB / 1.533 GB, free: 2.926 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-05/1.212, allocations: 4 kB / 1.533 GB, free: 2.922 MB / 1.264 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.006373/1.219, allocations: 2.746 MB / 1.536 GB, free: 156 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/1.219, allocations: 71.39 kB / 1.536 GB, free: 72 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/1.219, allocations: 16 kB / 1.536 GB, free: 56 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.219, allocations: 20 kB / 1.536 GB, free: 36 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/1.221, allocations: 0.4958 MB / 1.537 GB, free: 15.54 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.551e-05/1.221, allocations: 31.86 kB / 1.537 GB, free: 15.51 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/1.225, allocations: 296.2 kB / 1.537 GB, free: 15.22 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/1.225, allocations: 95.89 kB / 1.537 GB, free: 15.12 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.000498/1.225, allocations: 288.3 kB / 1.537 GB, free: 14.84 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/1.226, allocations: 260.8 kB / 1.538 GB, free: 14.58 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/1.23, allocations: 1.835 MB / 1.539 GB, free: 12.72 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/1.23, allocations: 8.156 kB / 1.539 GB, free: 12.71 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.23, allocations: 4 kB / 1.539 GB, free: 12.71 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.231, allocations: 0.5249 MB / 1.54 GB, free: 12.16 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/1.232, allocations: 20 kB / 1.54 GB, free: 12.14 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/1.234, allocations: 181.1 kB / 1.54 GB, free: 11.97 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.234, allocations: 56.92 kB / 1.54 GB, free: 11.91 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004694/1.239, allocations: 1.738 MB / 1.542 GB, free: 10.16 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005698/1.245, allocations: 2.791 MB / 1.545 GB, free: 7.348 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001585/1.246, allocations: 0.7183 MB / 1.545 GB, free: 6.629 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002916/1.249, allocations: 1.731 MB / 1.547 GB, free: 4.895 MB / 1.279 GB Notification: Performance of Backend: time 4.91e-07/1.249, allocations: 4 kB / 1.547 GB, free: 4.891 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.259, allocations: 3.911 MB / 1.551 GB, free: 0.9609 MB / 1.279 GB Notification: Performance of SimCode: time 0.008953/1.268, allocations: 5.024 MB / 1.556 GB, free: 11.88 MB / 1.295 GB Notification: Performance of Templates: time 0.5539/1.822, allocations: 66 MB / 1.62 GB, free: 440.7 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches