Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 215.5 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 65.38 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3014, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.057/1.358, allocations: 293.2 MB / 1.613 GB, free: 4.434 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03507/1.393, allocations: 27.75 MB / 1.641 GB, free: 4.379 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/1.397, allocations: 142.4 kB / 1.641 GB, free: 4.379 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005423/1.402, allocations: 2.017 MB / 1.643 GB, free: 4.352 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01408/1.417, allocations: 5.212 MB / 1.648 GB, free: 4.168 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009938/1.426, allocations: 3.695 MB / 1.651 GB, free: 4.047 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.437, allocations: 6.971 MB / 1.658 GB, free: 4.027 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005309/1.442, allocations: 2.338 MB / 1.66 GB, free: 19.82 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01537/1.458, allocations: 5.701 MB / 1.666 GB, free: 19.73 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005705/1.463, allocations: 2.542 MB / 1.668 GB, free: 19.73 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001486/1.465, allocations: 296 kB / 1.669 GB, free: 19.73 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/1.476, allocations: 4.027 MB / 1.673 GB, free: 19.68 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002241/1.478, allocations: 1.096 MB / 1.674 GB, free: 19.68 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.004104/1.482, allocations: 1.439 MB / 1.675 GB, free: 19.47 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/1.494, allocations: 5.711 MB / 1.681 GB, free: 18.75 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.495, allocations: 0 / 1.681 GB, free: 18.75 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.965e-06/1.495, allocations: 1 kB / 1.681 GB, free: 18.75 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002102/1.495, allocations: 2.344 kB / 1.681 GB, free: 18.75 MB / 1.311 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.009611/1.504, allocations: 3.71 MB / 1.684 GB, free: 17.05 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.504, allocations: 10.64 kB / 1.684 GB, free: 17.05 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/1.515, allocations: 1.196 MB / 1.686 GB, free: 16.87 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00519/1.52, allocations: 2.053 MB / 1.688 GB, free: 16.28 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.52, allocations: 168.9 kB / 1.688 GB, free: 16.27 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005404/1.521, allocations: 220.4 kB / 1.688 GB, free: 16.27 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006179/1.527, allocations: 3.599 MB / 1.691 GB, free: 15.27 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/1.527, allocations: 0 / 1.691 GB, free: 15.27 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/1.527, allocations: 88.69 kB / 1.692 GB, free: 15.27 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/1.527, allocations: 96.06 kB / 1.692 GB, free: 15.26 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006205/1.533, allocations: 3.092 MB / 1.695 GB, free: 15.19 MB / 1.311 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.021/1.554, allocations: 8.356 MB / 1.703 GB, free: 13.41 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/1.558, allocations: 1.607 MB / 1.704 GB, free: 13.36 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/1.56, allocations: 0.7817 MB / 1.705 GB, free: 13.34 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/1.56, allocations: 95.5 kB / 1.705 GB, free: 13.34 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/1.56, allocations: 51.38 kB / 1.705 GB, free: 13.3 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002242/1.562, allocations: 383.7 kB / 1.706 GB, free: 13.22 MB / 1.311 GB Notification: Performance of pre-optimization done (n=110): time 5.971e-06/1.563, allocations: 0 / 1.706 GB, free: 13.22 MB / 1.311 GB Notification: Performance of matching and sorting (n=110): time 0.005823/1.568, allocations: 2.527 MB / 1.708 GB, free: 13.02 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.568, allocations: 63.72 kB / 1.708 GB, free: 12.95 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/1.571, allocations: 2.081 MB / 1.71 GB, free: 12.68 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002765/1.572, allocations: 55.58 kB / 1.71 GB, free: 12.64 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009265/1.573, allocations: 1.326 MB / 1.712 GB, free: 12.07 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/1.573, allocations: 408.3 kB / 1.712 GB, free: 11.81 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007297/1.574, allocations: 417.1 kB / 1.712 GB, free: 11.76 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.574, allocations: 304.2 kB / 1.713 GB, free: 11.46 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/1.576, allocations: 1.056 MB / 1.714 GB, free: 11.37 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/1.58, allocations: 2.495 MB / 1.716 GB, free: 9.586 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/1.584, allocations: 2.355 MB / 1.718 GB, free: 8.992 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.584, allocations: 6.219 kB / 1.718 GB, free: 8.992 MB / 1.311 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006418/1.59, allocations: 2.918 MB / 1.721 GB, free: 8.645 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/1.591, allocations: 72.41 kB / 1.721 GB, free: 8.582 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.591, allocations: 13.75 kB / 1.721 GB, free: 8.582 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/1.591, allocations: 20.09 kB / 1.721 GB, free: 8.582 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/1.594, allocations: 0.5773 MB / 1.722 GB, free: 8.562 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/1.595, allocations: 2.385 MB / 1.724 GB, free: 6.227 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/1.599, allocations: 264.8 kB / 1.724 GB, free: 6.211 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/1.599, allocations: 104.3 kB / 1.725 GB, free: 6.211 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003244/1.602, allocations: 1.502 MB / 1.726 GB, free: 6.043 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003358/1.606, allocations: 2.48 MB / 1.728 GB, free: 4.266 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00438/1.61, allocations: 2.34 MB / 1.731 GB, free: 3.676 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.417e-06/1.61, allocations: 6.969 kB / 1.731 GB, free: 3.672 MB / 1.311 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.006559/1.616, allocations: 2.92 MB / 1.734 GB, free: 2.746 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/1.617, allocations: 73.61 kB / 1.734 GB, free: 2.68 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/1.617, allocations: 12.09 kB / 1.734 GB, free: 2.68 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.617, allocations: 26.94 kB / 1.734 GB, free: 2.676 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.619, allocations: 0.5216 MB / 1.734 GB, free: 2.656 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/1.619, allocations: 29.34 kB / 1.734 GB, free: 2.656 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/1.623, allocations: 282.3 kB / 1.735 GB, free: 2.605 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/1.623, allocations: 98.86 kB / 1.735 GB, free: 2.594 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.0006211/1.623, allocations: 292.5 kB / 1.735 GB, free: 2.355 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/1.624, allocations: 233.1 kB / 1.735 GB, free: 2.23 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/1.629, allocations: 1.969 MB / 1.737 GB, free: 1.531 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.629, allocations: 7.734 kB / 1.737 GB, free: 1.531 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.629, allocations: 0 / 1.737 GB, free: 1.531 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.63, allocations: 421.8 kB / 1.737 GB, free: 1.309 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/1.631, allocations: 14.69 kB / 1.737 GB, free: 1.297 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/1.633, allocations: 158.2 kB / 1.738 GB, free: 1.27 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.633, allocations: 70.81 kB / 1.738 GB, free: 1.258 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004926/1.638, allocations: 1.792 MB / 1.739 GB, free: 0.6367 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006159/1.644, allocations: 2.903 MB / 1.742 GB, free: 15.48 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001697/1.646, allocations: 0.7122 MB / 1.743 GB, free: 15.25 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002634/1.648, allocations: 1.404 MB / 1.744 GB, free: 14.69 MB / 1.326 GB Notification: Performance of Backend: time 5.01e-07/1.648, allocations: 0 / 1.744 GB, free: 14.69 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.66, allocations: 3.995 MB / 1.748 GB, free: 12.75 MB / 1.326 GB Notification: Performance of SimCode: time 0.008411/1.668, allocations: 4.674 MB / 1.753 GB, free: 9.883 MB / 1.326 GB Notification: Performance of Templates: time 0.1067/1.775, allocations: 69.57 MB / 1.821 GB, free: 13.53 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.12109166099981]