Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.002015/0.002015, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.003156/0.003156, allocations: 213.4 kB / 22.24 MB, free: 5.242 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.689/1.689, allocations: 230.6 MB / 256 MB, free: 7.797 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.505/3.505, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] 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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [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.00291/0.00291, allocations: 71.39 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5047, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004939/0.5096, allocations: 2.296 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2083/0.7179, allocations: 132.7 MB / 1.457 GB, free: 10.35 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.7182, allocations: 4 kB / 1.457 GB, free: 10.34 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.7186, allocations: 91.45 kB / 1.457 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008292/0.7194, allocations: 242.5 kB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.7213, allocations: 0.6694 MB / 1.458 GB, free: 9.352 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006143/0.7219, allocations: 434.5 kB / 1.459 GB, free: 8.926 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.7221, allocations: 32.91 kB / 1.459 GB, free: 8.895 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.7223, allocations: 183.5 kB / 1.459 GB, free: 8.715 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.7227, allocations: 195.2 kB / 1.459 GB, free: 8.523 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.7228, allocations: 32 kB / 1.459 GB, free: 8.492 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.724, allocations: 0.5927 MB / 1.46 GB, free: 7.898 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.7242, allocations: 83.72 kB / 1.46 GB, free: 7.816 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.7244, allocations: 135.4 kB / 1.46 GB, free: 7.684 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.7254, allocations: 0.6696 MB / 1.461 GB, free: 7.012 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7254, allocations: 0 / 1.461 GB, free: 7.012 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7254, allocations: 0 / 1.461 GB, free: 7.012 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7255, allocations: 3.938 kB / 1.461 GB, free: 7.008 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001676/0.7271, allocations: 0.7053 MB / 1.461 GB, free: 6.262 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.7272, allocations: 11.97 kB / 1.461 GB, free: 6.25 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.729, allocations: 192.5 kB / 1.462 GB, free: 6.062 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.7297, allocations: 253.7 kB / 1.462 GB, free: 5.785 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.7298, allocations: 53.64 kB / 1.462 GB, free: 5.727 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.7299, allocations: 16 kB / 1.462 GB, free: 5.711 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.7304, allocations: 239.6 kB / 1.462 GB, free: 5.457 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7304, allocations: 4 kB / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.7304, allocations: 8 kB / 1.462 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7304, allocations: 4 kB / 1.462 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.7307, allocations: 153.7 kB / 1.462 GB, free: 5.285 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.7333, allocations: 0.8558 MB / 1.463 GB, free: 4.391 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.7341, allocations: 176.2 kB / 1.463 GB, free: 4.203 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.7343, allocations: 116.2 kB / 1.463 GB, free: 4.082 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.7343, allocations: 8 kB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.7348, allocations: 222.6 kB / 1.464 GB, free: 3.832 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.7348, allocations: 0 / 1.464 GB, free: 3.832 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.004477/0.7393, allocations: 0.8587 MB / 1.464 GB, free: 2.949 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.7393, allocations: 97.03 kB / 1.464 GB, free: 2.836 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.7398, allocations: 320.4 kB / 1.465 GB, free: 2.516 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.7399, allocations: 37.7 kB / 1.465 GB, free: 2.473 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.74, allocations: 152.9 kB / 1.465 GB, free: 2.32 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.7401, allocations: 59.48 kB / 1.465 GB, free: 2.262 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.7403, allocations: 81.94 kB / 1.465 GB, free: 2.172 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.7405, allocations: 346.7 kB / 1.465 GB, free: 1.824 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.7409, allocations: 170.2 kB / 1.466 GB, free: 1.652 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.7415, allocations: 353.9 kB / 1.466 GB, free: 1.262 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.7422, allocations: 348.8 kB / 1.466 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7422, allocations: 0 / 1.466 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003858/0.7461, allocations: 0.9056 MB / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.7461, allocations: 41.69 kB / 1.467 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7461, allocations: 3.938 kB / 1.467 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009616/0.7471, allocations: 205.5 kB / 1.467 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.7473, allocations: 35.97 kB / 1.467 GB, free: 15.67 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.7509, allocations: 2.212 MB / 1.47 GB, free: 13.33 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.7514, allocations: 43.72 kB / 1.47 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.7514, allocations: 23.92 kB / 1.47 GB, free: 13.26 MB / 1.17 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003143/0.7517, allocations: 194.2 kB / 1.47 GB, free: 13.06 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.7518, allocations: 31.81 kB / 1.47 GB, free: 13.03 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.7518, allocations: 22.27 kB / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.7519, allocations: 3.984 kB / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.7519, allocations: 0 / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.7519, allocations: 0 / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.7552, allocations: 0.9959 MB / 1.471 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.7552, allocations: 0 / 1.471 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.7553, allocations: 8 kB / 1.471 GB, free: 11.94 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.7556, allocations: 112.8 kB / 1.471 GB, free: 11.83 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.7556, allocations: 15.97 kB / 1.471 GB, free: 11.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.7567, allocations: 0.7459 MB / 1.472 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7567, allocations: 0 / 1.472 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.7599, allocations: 0.9422 MB / 1.473 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.7601, allocations: 59.73 kB / 1.473 GB, free: 10 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/0.7601, allocations: 8 kB / 1.473 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.7604, allocations: 20.05 kB / 1.473 GB, free: 9.977 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.7604, allocations: 11.97 kB / 1.473 GB, free: 9.965 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.7605, allocations: 11.98 kB / 1.473 GB, free: 9.953 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003266/0.7608, allocations: 227 kB / 1.473 GB, free: 9.734 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.7608, allocations: 0 / 1.473 GB, free: 9.734 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006282/0.7614, allocations: 119.8 kB / 1.473 GB, free: 9.617 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (int.y,eva.m) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004433/0.7619, allocations: 193.6 kB / 1.473 GB, free: 9.422 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.7635, allocations: 0.588 MB / 1.474 GB, free: 8.793 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7635, allocations: 0 / 1.474 GB, free: 8.793 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.7643, allocations: 265.8 kB / 1.474 GB, free: 8.512 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.7648, allocations: 52.55 kB / 1.474 GB, free: 8.461 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.7667, allocations: 0.6537 MB / 1.475 GB, free: 7.781 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.7669, allocations: 155.1 kB / 1.475 GB, free: 7.609 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.7671, allocations: 25.89 kB / 1.475 GB, free: 7.586 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.7671, allocations: 27.42 kB / 1.475 GB, free: 7.559 MB / 1.17 GB Notification: Performance of SimCode: time 6.92e-07/0.7671, allocations: 3.938 kB / 1.475 GB, free: 7.555 MB / 1.17 GB Notification: Performance of Templates: time 0.01586/0.783, allocations: 8.015 MB / 1.483 GB, free: 15.62 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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: 11.078162912279367]