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.001671/0.001671, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001658/0.001658, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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 3.148/3.148, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 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.002164/0.002164, allocations: 65.22 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4692, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004796/0.474, allocations: 2.312 MB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.213/0.687, allocations: 132.7 MB / 1.415 GB, free: 4.402 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.6874, allocations: 3.938 kB / 1.415 GB, free: 4.398 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.6879, allocations: 87.45 kB / 1.415 GB, free: 4.312 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.6891, allocations: 246.6 kB / 1.415 GB, free: 4.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.6915, allocations: 0.6559 MB / 1.416 GB, free: 3.422 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008466/0.6923, allocations: 442.5 kB / 1.416 GB, free: 2.988 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.6925, allocations: 32.91 kB / 1.416 GB, free: 2.961 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.6929, allocations: 187.4 kB / 1.416 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.6934, allocations: 195.3 kB / 1.417 GB, free: 2.586 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.6935, allocations: 28 kB / 1.417 GB, free: 2.559 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.695, allocations: 0.5966 MB / 1.417 GB, free: 1.961 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.6952, allocations: 87.66 kB / 1.417 GB, free: 1.875 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.6955, allocations: 135.4 kB / 1.417 GB, free: 1.742 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.6971, allocations: 0.6735 MB / 1.418 GB, free: 1.066 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6972, allocations: 0 / 1.418 GB, free: 1.066 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6972, allocations: 0 / 1.418 GB, free: 1.066 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.6972, allocations: 3.938 kB / 1.418 GB, free: 1.062 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.002113/0.6993, allocations: 0.6976 MB / 1.419 GB, free: 332 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.6993, allocations: 8.031 kB / 1.419 GB, free: 324 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.7012, allocations: 188.5 kB / 1.419 GB, free: 136 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.7019, allocations: 265.6 kB / 1.419 GB, free: 15.85 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.702, allocations: 45.7 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.7021, allocations: 23.98 kB / 1.419 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.7026, allocations: 239 kB / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.7026, allocations: 0 / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.7026, allocations: 15.94 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7026, allocations: 4 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.7029, allocations: 149.8 kB / 1.42 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.7054, allocations: 0.8557 MB / 1.421 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.7063, allocations: 188.1 kB / 1.421 GB, free: 14.25 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.7065, allocations: 114.5 kB / 1.421 GB, free: 14.13 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.7065, allocations: 4 kB / 1.421 GB, free: 14.13 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/0.707, allocations: 218.7 kB / 1.421 GB, free: 13.89 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.707, allocations: 0 / 1.421 GB, free: 13.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004384/0.7113, allocations: 0.8635 MB / 1.422 GB, free: 13 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.7114, allocations: 89.09 kB / 1.422 GB, free: 12.89 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.7119, allocations: 324.4 kB / 1.422 GB, free: 12.57 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.712, allocations: 33.7 kB / 1.422 GB, free: 12.53 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.7121, allocations: 152.9 kB / 1.422 GB, free: 12.37 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.7122, allocations: 63.47 kB / 1.423 GB, free: 12.31 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.7123, allocations: 85.94 kB / 1.423 GB, free: 12.21 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.7125, allocations: 342.7 kB / 1.423 GB, free: 11.87 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.7129, allocations: 166.2 kB / 1.423 GB, free: 11.7 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.7135, allocations: 357.9 kB / 1.423 GB, free: 11.31 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.7142, allocations: 344.5 kB / 1.424 GB, free: 10.95 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7142, allocations: 0 / 1.424 GB, free: 10.95 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003779/0.7179, allocations: 0.8986 MB / 1.425 GB, free: 10.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.718, allocations: 43.88 kB / 1.425 GB, free: 9.977 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.718, allocations: 7.938 kB / 1.425 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/0.719, allocations: 197.7 kB / 1.425 GB, free: 9.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.7192, allocations: 43.91 kB / 1.425 GB, free: 9.727 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.7226, allocations: 2.216 MB / 1.427 GB, free: 7.383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.7231, allocations: 43.72 kB / 1.427 GB, free: 7.34 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.7232, allocations: 19.98 kB / 1.427 GB, free: 7.32 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.000316/0.7235, allocations: 190.2 kB / 1.427 GB, free: 7.121 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.7236, allocations: 31.81 kB / 1.427 GB, free: 7.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.7236, allocations: 26.27 kB / 1.427 GB, free: 7.062 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7236, allocations: 7.984 kB / 1.427 GB, free: 7.055 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7236, allocations: 3.938 kB / 1.427 GB, free: 7.051 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7236, allocations: 0 / 1.427 GB, free: 7.051 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.7269, allocations: 0.9885 MB / 1.428 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7269, allocations: 0 / 1.428 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.727, allocations: 4 kB / 1.428 GB, free: 6.008 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.7273, allocations: 116.7 kB / 1.428 GB, free: 5.891 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.7273, allocations: 11.98 kB / 1.428 GB, free: 5.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009958/0.7283, allocations: 0.746 MB / 1.429 GB, free: 5.109 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7283, allocations: 0 / 1.429 GB, free: 5.109 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.7316, allocations: 0.9529 MB / 1.43 GB, free: 4.121 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.7317, allocations: 51.78 kB / 1.43 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.7318, allocations: 8 kB / 1.43 GB, free: 4.062 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.732, allocations: 16.05 kB / 1.43 GB, free: 4.047 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.7321, allocations: 15.97 kB / 1.43 GB, free: 4.031 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.7322, allocations: 8 kB / 1.43 GB, free: 4.023 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003219/0.7325, allocations: 219 kB / 1.43 GB, free: 3.809 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7325, allocations: 0 / 1.43 GB, free: 3.809 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005914/0.7331, allocations: 127.8 kB / 1.431 GB, free: 3.684 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.0004617/0.7335, allocations: 194.9 kB / 1.431 GB, free: 3.484 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.7352, allocations: 0.5884 MB / 1.431 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7352, allocations: 0 / 1.431 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.736, allocations: 261.9 kB / 1.432 GB, free: 2.578 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.7365, allocations: 48.56 kB / 1.432 GB, free: 2.531 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.7381, allocations: 0.6559 MB / 1.432 GB, free: 1.848 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.7383, allocations: 155.1 kB / 1.432 GB, free: 1.676 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.7384, allocations: 33.88 kB / 1.432 GB, free: 1.645 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.7385, allocations: 19.42 kB / 1.432 GB, free: 1.625 MB / 1.123 GB Notification: Performance of SimCode: time 7.62e-07/0.7385, allocations: 4 kB / 1.432 GB, free: 1.621 MB / 1.123 GB Notification: Performance of Templates: time 0.01551/0.754, allocations: 8.02 MB / 1.44 GB, free: 9.695 MB / 1.139 GB " [Timeout remaining time 298] 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 -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/jenkins/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.935394266620278]