Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002202/0.002202, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002867/0.002867, allocations: 158.2 kB / 23.01 MB, free: 4.598 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.586/1.586, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.842/2.842, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002326/0.002326, allocations: 68.12 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3765, allocations: 169.9 MB / 1.117 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004791/0.3813, allocations: 2.301 MB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.9597/1.341, allocations: 132.7 MB / 1.249 GB, free: 5.109 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/1.341, allocations: 6.281 kB / 1.249 GB, free: 5.105 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/1.342, allocations: 85.75 kB / 1.249 GB, free: 5.07 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/1.343, allocations: 236.8 kB / 1.25 GB, free: 4.949 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/1.346, allocations: 0.6645 MB / 1.25 GB, free: 4.629 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0009021/1.347, allocations: 436.3 kB / 1.251 GB, free: 4.434 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/1.347, allocations: 34.08 kB / 1.251 GB, free: 4.426 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/1.347, allocations: 188.6 kB / 1.251 GB, free: 4.352 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/1.348, allocations: 194.6 kB / 1.251 GB, free: 4.285 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/1.348, allocations: 30.16 kB / 1.251 GB, free: 4.285 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/1.35, allocations: 0.5912 MB / 1.252 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/1.35, allocations: 90.14 kB / 1.252 GB, free: 4.062 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003315/1.35, allocations: 138.6 kB / 1.252 GB, free: 3.992 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/1.352, allocations: 0.6657 MB / 1.253 GB, free: 3.766 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.352, allocations: 0 / 1.253 GB, free: 3.766 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.924e-06/1.352, allocations: 1.406 kB / 1.253 GB, free: 3.766 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.049e-05/1.352, allocations: 3.938 kB / 1.253 GB, free: 3.762 MB / 1.107 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.002541/1.355, allocations: 0.7016 MB / 1.253 GB, free: 3.25 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.355, allocations: 10.38 kB / 1.253 GB, free: 3.25 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/1.357, allocations: 187.2 kB / 1.253 GB, free: 3.227 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/1.357, allocations: 262.9 kB / 1.254 GB, free: 3.02 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/1.357, allocations: 46.08 kB / 1.254 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/1.357, allocations: 24.48 kB / 1.254 GB, free: 2.973 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/1.358, allocations: 240.4 kB / 1.254 GB, free: 2.832 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.358, allocations: 1.375 kB / 1.254 GB, free: 2.832 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/1.358, allocations: 5.469 kB / 1.254 GB, free: 2.828 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/1.358, allocations: 3.344 kB / 1.254 GB, free: 2.828 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/1.358, allocations: 154.1 kB / 1.254 GB, free: 2.754 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/1.361, allocations: 0.8467 MB / 1.255 GB, free: 2.215 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/1.362, allocations: 184.5 kB / 1.255 GB, free: 2.113 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/1.362, allocations: 118.6 kB / 1.255 GB, free: 2.047 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/1.362, allocations: 3.344 kB / 1.255 GB, free: 2.047 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/1.363, allocations: 226.8 kB / 1.255 GB, free: 1.895 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/1.363, allocations: 1.219 kB / 1.255 GB, free: 1.895 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.004721/1.367, allocations: 0.8694 MB / 1.256 GB, free: 1.598 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/1.367, allocations: 82.98 kB / 1.256 GB, free: 1.504 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/1.368, allocations: 315.6 kB / 1.257 GB, free: 1.332 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/1.368, allocations: 33.11 kB / 1.257 GB, free: 1.297 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.368, allocations: 155.1 kB / 1.257 GB, free: 1.164 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/1.368, allocations: 64.19 kB / 1.257 GB, free: 1.113 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.368, allocations: 89.86 kB / 1.257 GB, free: 1.066 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.369, allocations: 338.8 kB / 1.257 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/1.369, allocations: 168.9 kB / 1.258 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/1.37, allocations: 356.2 kB / 1.258 GB, free: 408 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/1.37, allocations: 360.1 kB / 1.258 GB, free: 180 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.37, allocations: 3.938 kB / 1.258 GB, free: 176 kB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004204/1.374, allocations: 0.9072 MB / 1.259 GB, free: 15.86 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/1.375, allocations: 35.56 kB / 1.259 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/1.375, allocations: 6.188 kB / 1.259 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.376, allocations: 191.6 kB / 1.259 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/1.376, allocations: 43.02 kB / 1.259 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/1.379, allocations: 2.211 MB / 1.262 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/1.38, allocations: 47.64 kB / 1.262 GB, free: 13.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/1.38, allocations: 21.48 kB / 1.262 GB, free: 13.74 MB / 1.123 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.0003239/1.38, allocations: 193.4 kB / 1.262 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/1.38, allocations: 29.62 kB / 1.262 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/1.381, allocations: 25.2 kB / 1.262 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.381, allocations: 1.344 kB / 1.262 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.381, allocations: 0 / 1.262 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.381, allocations: 2.859 kB / 1.262 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/1.384, allocations: 0.9861 MB / 1.263 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.384, allocations: 0 / 1.263 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/1.384, allocations: 7.047 kB / 1.263 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/1.385, allocations: 117.4 kB / 1.263 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/1.385, allocations: 11.06 kB / 1.263 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/1.386, allocations: 0.7551 MB / 1.264 GB, free: 12.35 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.386, allocations: 0 / 1.264 GB, free: 12.35 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/1.39, allocations: 0.9472 MB / 1.265 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/1.39, allocations: 58.28 kB / 1.265 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/1.39, allocations: 8 kB / 1.265 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.39, allocations: 11.2 kB / 1.265 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/1.39, allocations: 13.09 kB / 1.265 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/1.39, allocations: 12.7 kB / 1.265 GB, free: 11.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003692/1.391, allocations: 223.9 kB / 1.265 GB, free: 11.77 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.391, allocations: 4.062 kB / 1.265 GB, free: 11.77 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008028/1.391, allocations: 119.8 kB / 1.265 GB, free: 11.75 MB / 1.123 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.0004558/1.392, allocations: 200 kB / 1.265 GB, free: 11.62 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001878/1.394, allocations: 0.607 MB / 1.266 GB, free: 11.25 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.394, allocations: 1.594 kB / 1.266 GB, free: 11.25 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/1.394, allocations: 247.9 kB / 1.266 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/1.395, allocations: 62.5 kB / 1.266 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.397, allocations: 0.6451 MB / 1.267 GB, free: 10.7 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/1.397, allocations: 151.6 kB / 1.267 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001603/1.397, allocations: 27.52 kB / 1.267 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/1.397, allocations: 22.94 kB / 1.267 GB, free: 10.6 MB / 1.123 GB Notification: Performance of SimCode: time 4.01e-07/1.397, allocations: 0 / 1.267 GB, free: 10.6 MB / 1.123 GB Notification: Performance of Templates: time 0.01719/1.414, allocations: 7.735 MB / 1.274 GB, free: 9.75 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.027650791918859]