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.002018/0.002018, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002121/0.002121, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.559/1.559, 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.407/3.407, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002102/0.002102, allocations: 65.17 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4802, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.005332/0.4856, allocations: 2.311 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2104/0.6959, allocations: 132.7 MB / 1.459 GB, free: 9.473 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.6962, allocations: 0 / 1.459 GB, free: 9.473 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.6966, allocations: 95.39 kB / 1.459 GB, free: 9.379 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000912/0.6976, allocations: 246.5 kB / 1.459 GB, free: 9.137 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.6997, allocations: 0.6553 MB / 1.46 GB, free: 8.488 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.7004, allocations: 438.6 kB / 1.46 GB, free: 8.059 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.7005, allocations: 28.92 kB / 1.46 GB, free: 8.031 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.7008, allocations: 187.4 kB / 1.461 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.7012, allocations: 211.3 kB / 1.461 GB, free: 7.641 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.7013, allocations: 28 kB / 1.461 GB, free: 7.613 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.7026, allocations: 0.6161 MB / 1.461 GB, free: 6.996 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.7028, allocations: 79.73 kB / 1.461 GB, free: 6.918 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.7029, allocations: 135.4 kB / 1.462 GB, free: 6.785 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.7041, allocations: 0.6774 MB / 1.462 GB, free: 6.105 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7041, allocations: 0 / 1.462 GB, free: 6.105 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7041, allocations: 0 / 1.462 GB, free: 6.105 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.7041, allocations: 3.938 kB / 1.462 GB, free: 6.102 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.001837/0.7059, allocations: 0.6937 MB / 1.463 GB, free: 5.367 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.706, allocations: 15.97 kB / 1.463 GB, free: 5.352 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.708, allocations: 188.5 kB / 1.463 GB, free: 5.168 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.7086, allocations: 269.6 kB / 1.463 GB, free: 4.875 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.7087, allocations: 49.69 kB / 1.463 GB, free: 4.82 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.7088, allocations: 16 kB / 1.463 GB, free: 4.805 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.7093, allocations: 241.8 kB / 1.464 GB, free: 4.547 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7093, allocations: 0 / 1.464 GB, free: 4.547 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.7093, allocations: 8 kB / 1.464 GB, free: 4.539 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.7093, allocations: 0 / 1.464 GB, free: 4.539 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.7096, allocations: 153.8 kB / 1.464 GB, free: 4.383 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.7125, allocations: 0.8442 MB / 1.465 GB, free: 3.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.7134, allocations: 188.2 kB / 1.465 GB, free: 3.301 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.7137, allocations: 110.5 kB / 1.465 GB, free: 3.184 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.7137, allocations: 4 kB / 1.465 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000465/0.7142, allocations: 226.6 kB / 1.465 GB, free: 2.934 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.7142, allocations: 0 / 1.465 GB, free: 2.934 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.005231/0.7194, allocations: 0.8598 MB / 1.466 GB, free: 2.047 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.7195, allocations: 89.11 kB / 1.466 GB, free: 1.941 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.7199, allocations: 324.3 kB / 1.466 GB, free: 1.617 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.72, allocations: 33.7 kB / 1.466 GB, free: 1.578 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.7202, allocations: 156.9 kB / 1.467 GB, free: 1.422 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.7202, allocations: 67.45 kB / 1.467 GB, free: 1.355 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.7204, allocations: 81.94 kB / 1.467 GB, free: 1.266 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.7206, allocations: 342.8 kB / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.721, allocations: 178.2 kB / 1.467 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.7216, allocations: 349.9 kB / 1.468 GB, free: 364 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/0.7224, allocations: 344.9 kB / 1.468 GB, free: 15.99 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.7224, allocations: 0 / 1.468 GB, free: 15.99 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004391/0.7268, allocations: 0.8978 MB / 1.469 GB, free: 15.07 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.7268, allocations: 41.69 kB / 1.469 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7268, allocations: 4 kB / 1.469 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.7279, allocations: 197.5 kB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.7281, allocations: 35.98 kB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.7316, allocations: 2.216 MB / 1.471 GB, free: 12.44 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.7322, allocations: 47.78 kB / 1.471 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.7322, allocations: 23.97 kB / 1.471 GB, free: 12.37 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.0003223/0.7325, allocations: 188.9 kB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.7326, allocations: 27.81 kB / 1.471 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.7327, allocations: 26.25 kB / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7327, allocations: 0 / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7327, allocations: 4 kB / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7327, allocations: 0 / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.7366, allocations: 0.9957 MB / 1.472 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7366, allocations: 0 / 1.472 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.7367, allocations: 8 kB / 1.472 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/0.7371, allocations: 112.9 kB / 1.473 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.7371, allocations: 11.98 kB / 1.473 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.7382, allocations: 0.7576 MB / 1.473 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7382, allocations: 0 / 1.473 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.742, allocations: 0.9499 MB / 1.474 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.7422, allocations: 55.73 kB / 1.474 GB, free: 9.105 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.7423, allocations: 4 kB / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.7426, allocations: 15.98 kB / 1.474 GB, free: 9.086 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.7426, allocations: 7.984 kB / 1.474 GB, free: 9.078 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.7427, allocations: 11.98 kB / 1.474 GB, free: 9.066 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003457/0.743, allocations: 223 kB / 1.475 GB, free: 8.852 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.743, allocations: 4.062 kB / 1.475 GB, free: 8.848 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006698/0.7437, allocations: 123.8 kB / 1.475 GB, free: 8.727 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.0004563/0.7441, allocations: 195.2 kB / 1.475 GB, free: 8.531 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.746, allocations: 0.5934 MB / 1.475 GB, free: 7.898 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.746, allocations: 0 / 1.475 GB, free: 7.898 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.7469, allocations: 257.8 kB / 1.476 GB, free: 7.625 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.7474, allocations: 65.75 kB / 1.476 GB, free: 7.562 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.7491, allocations: 0.6423 MB / 1.476 GB, free: 6.887 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.7493, allocations: 155.1 kB / 1.477 GB, free: 6.715 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.7495, allocations: 33.81 kB / 1.477 GB, free: 6.684 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.7495, allocations: 19.44 kB / 1.477 GB, free: 6.664 MB / 1.17 GB Notification: Performance of SimCode: time 7.41e-07/0.7495, allocations: 0 / 1.477 GB, free: 6.664 MB / 1.17 GB Notification: Performance of Templates: time 0.01609/0.7656, allocations: 8.069 MB / 1.484 GB, free: 14.68 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 -s cvode -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/jenkins1/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: 10.529672231001314]