Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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.001675/0.001675, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002497/0.002497, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.58/1.58, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.865/2.865, allocations: 359.1 MB / 0.6044 GB, free: 14.95 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.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [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.003261/0.003261, allocations: 71.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.406, allocations: 169.9 MB / 1.117 GB, free: 2.605 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005731/0.4118, allocations: 2.813 MB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 1.04/1.451, allocations: 134.9 MB / 1.252 GB, free: 3.332 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/1.452, allocations: 2.812 kB / 1.252 GB, free: 3.332 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004666/1.452, allocations: 88.72 kB / 1.252 GB, free: 3.277 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/1.453, allocations: 280.3 kB / 1.252 GB, free: 3.109 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/1.457, allocations: 1.022 MB / 1.253 GB, free: 2.609 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001383/1.458, allocations: 0.785 MB / 1.254 GB, free: 2.242 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/1.459, allocations: 57.84 kB / 1.254 GB, free: 2.215 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/1.459, allocations: 332.9 kB / 1.254 GB, free: 2.082 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/1.46, allocations: 306.9 kB / 1.255 GB, free: 1.965 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/1.46, allocations: 60.5 kB / 1.255 GB, free: 1.965 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/1.462, allocations: 0.7279 MB / 1.256 GB, free: 1.742 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/1.462, allocations: 155 kB / 1.256 GB, free: 1.648 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003888/1.462, allocations: 247.8 kB / 1.256 GB, free: 1.523 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/1.464, allocations: 0.9846 MB / 1.257 GB, free: 1.172 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.464, allocations: 1 kB / 1.257 GB, free: 1.172 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.094e-06/1.464, allocations: 0 / 1.257 GB, free: 1.172 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.954e-05/1.464, allocations: 0 / 1.257 GB, free: 1.172 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003264/1.467, allocations: 1.057 MB / 1.258 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.467, allocations: 9.375 kB / 1.258 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/1.471, allocations: 328.2 kB / 1.258 GB, free: 468 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/1.471, allocations: 345.5 kB / 1.259 GB, free: 220 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/1.472, allocations: 94.3 kB / 1.259 GB, free: 140 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/1.472, allocations: 44.47 kB / 1.259 GB, free: 124 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009727/1.473, allocations: 371.5 kB / 1.259 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.473, allocations: 0 / 1.259 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/1.473, allocations: 11.64 kB / 1.259 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.473, allocations: 6.062 kB / 1.259 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/1.474, allocations: 253.5 kB / 1.259 GB, free: 15.87 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/1.479, allocations: 1.459 MB / 1.261 GB, free: 15.01 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/1.479, allocations: 238.7 kB / 1.261 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/1.48, allocations: 147.3 kB / 1.261 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/1.48, allocations: 14.75 kB / 1.261 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008233/1.481, allocations: 301.3 kB / 1.261 GB, free: 14.73 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/1.481, allocations: 0 / 1.261 GB, free: 14.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.009172/1.49, allocations: 1.375 MB / 1.263 GB, free: 14.43 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/1.49, allocations: 83.53 kB / 1.263 GB, free: 14.33 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/1.491, allocations: 425.9 kB / 1.263 GB, free: 14.12 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/1.491, allocations: 39.25 kB / 1.263 GB, free: 14.08 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/1.491, allocations: 213.1 kB / 1.263 GB, free: 13.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.491, allocations: 100.9 kB / 1.264 GB, free: 13.82 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/1.492, allocations: 155.4 kB / 1.264 GB, free: 13.76 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002271/1.492, allocations: 358.9 kB / 1.264 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008948/1.493, allocations: 323.1 kB / 1.264 GB, free: 13.27 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/1.494, allocations: 0.6823 MB / 1.265 GB, free: 12.75 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008699/1.503, allocations: 1.853 MB / 1.267 GB, free: 12.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/1.503, allocations: 5.531 kB / 1.267 GB, free: 12.09 MB / 1.123 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008255/1.511, allocations: 1.64 MB / 1.268 GB, free: 11.53 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/1.511, allocations: 60.41 kB / 1.269 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.511, allocations: 2.344 kB / 1.269 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.513, allocations: 396.6 kB / 1.269 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/1.514, allocations: 91.78 kB / 1.269 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00747/1.521, allocations: 4.426 MB / 1.273 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.523, allocations: 96.86 kB / 1.273 GB, free: 7.305 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/1.523, allocations: 40.5 kB / 1.273 GB, free: 7.297 MB / 1.123 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {7, 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005874/1.523, allocations: 179.6 kB / 1.274 GB, free: 7.141 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.524, allocations: 46.25 kB / 1.274 GB, free: 7.113 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/1.524, allocations: 40.89 kB / 1.274 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.524, allocations: 2.719 kB / 1.274 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.524, allocations: 1.984 kB / 1.274 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.524, allocations: 1.125 kB / 1.274 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009164/1.525, allocations: 346.4 kB / 1.274 GB, free: 6.859 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.525, allocations: 4 kB / 1.274 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/1.525, allocations: 28.22 kB / 1.274 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007802/1.526, allocations: 227.8 kB / 1.274 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/1.526, allocations: 13.73 kB / 1.274 GB, free: 6.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/1.528, allocations: 1.498 MB / 1.276 GB, free: 5.469 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.528, allocations: 1.219 kB / 1.276 GB, free: 5.469 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007116/1.535, allocations: 1.296 MB / 1.277 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/1.535, allocations: 84 kB / 1.277 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/1.536, allocations: 11.28 kB / 1.277 GB, free: 5.039 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/1.536, allocations: 47.33 kB / 1.277 GB, free: 5.027 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.536, allocations: 37.75 kB / 1.277 GB, free: 5.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/1.536, allocations: 12.31 kB / 1.277 GB, free: 5.02 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005553/1.537, allocations: 281.9 kB / 1.277 GB, free: 4.887 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.537, allocations: 0 / 1.277 GB, free: 4.887 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001194/1.538, allocations: 164.7 kB / 1.278 GB, free: 4.859 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005489/1.539, allocations: 184.1 kB / 1.278 GB, free: 4.738 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004116/1.543, allocations: 1.07 MB / 1.279 GB, free: 4.105 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.543, allocations: 0 / 1.279 GB, free: 4.105 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/1.545, allocations: 311.5 kB / 1.279 GB, free: 4.016 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/1.545, allocations: 104.9 kB / 1.279 GB, free: 3.973 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/1.548, allocations: 0.9188 MB / 1.28 GB, free: 3.41 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/1.548, allocations: 205.8 kB / 1.28 GB, free: 3.32 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000436/1.549, allocations: 50.53 kB / 1.28 GB, free: 3.305 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/1.549, allocations: 43.41 kB / 1.28 GB, free: 3.289 MB / 1.123 GB Notification: Performance of SimCode: time 1.443e-06/1.549, allocations: 0 / 1.28 GB, free: 3.289 MB / 1.123 GB Notification: Performance of Templates: time 0.03372/1.583, allocations: 13.33 MB / 1.293 GB, free: 14.91 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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.472984786960296]