Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001725/0.001725, 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.002336/0.002336, allocations: 211.1 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.673/1.673, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.679/3.679, allocations: 0.49 GB / 0.7959 GB, free: 35.33 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.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_12_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_12_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.002086/0.002086, allocations: 69.34 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4916, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005791/0.4974, allocations: 2.807 MB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.205/0.7024, allocations: 135 MB / 1.462 GB, free: 6.684 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004626/0.7029, allocations: 7.938 kB / 1.462 GB, free: 6.676 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.7033, allocations: 79.22 kB / 1.462 GB, free: 6.598 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.7044, allocations: 282.1 kB / 1.462 GB, free: 6.32 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.7075, allocations: 1.026 MB / 1.463 GB, free: 5.305 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.7086, allocations: 0.7758 MB / 1.464 GB, free: 4.527 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.7088, allocations: 70.17 kB / 1.464 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.7092, allocations: 339 kB / 1.464 GB, free: 4.121 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.7097, allocations: 334.8 kB / 1.464 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.7099, allocations: 64 kB / 1.465 GB, free: 3.73 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.7116, allocations: 0.7367 MB / 1.465 GB, free: 2.992 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.7117, allocations: 163.4 kB / 1.465 GB, free: 2.832 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.712, allocations: 247 kB / 1.466 GB, free: 2.59 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.7136, allocations: 0.9811 MB / 1.467 GB, free: 1.605 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7136, allocations: 0 / 1.467 GB, free: 1.605 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7136, allocations: 7.938 kB / 1.467 GB, free: 1.598 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.7137, allocations: 0 / 1.467 GB, free: 1.598 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003108/0.7168, allocations: 1.047 MB / 1.468 GB, free: 0.5 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7168, allocations: 8.031 kB / 1.468 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.7202, allocations: 320 kB / 1.468 GB, free: 184 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.721, allocations: 355.2 kB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.7211, allocations: 95.83 kB / 1.468 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.7212, allocations: 40 kB / 1.468 GB, free: 15.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.7222, allocations: 372.2 kB / 1.469 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.7222, allocations: 7.938 kB / 1.469 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.7222, allocations: 8 kB / 1.469 GB, free: 15.26 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.7222, allocations: 11.94 kB / 1.469 GB, free: 15.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.723, allocations: 253.4 kB / 1.469 GB, free: 15 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00486/0.7279, allocations: 1.466 MB / 1.47 GB, free: 13.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008348/0.7287, allocations: 234.6 kB / 1.471 GB, free: 13.25 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.7292, allocations: 148.7 kB / 1.471 GB, free: 13.1 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.7293, allocations: 0 / 1.471 GB, free: 13.1 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000785/0.73, allocations: 304.8 kB / 1.471 GB, free: 12.78 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.73, allocations: 3.938 kB / 1.471 GB, free: 12.78 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.009302/0.7393, allocations: 1.364 MB / 1.472 GB, free: 11.4 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.7394, allocations: 85.09 kB / 1.473 GB, free: 11.3 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.7402, allocations: 437.7 kB / 1.473 GB, free: 10.86 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002356/0.7405, allocations: 37.7 kB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.7407, allocations: 209.6 kB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.7409, allocations: 95.22 kB / 1.473 GB, free: 10.52 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.7412, allocations: 154.2 kB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7414, allocations: 358.8 kB / 1.474 GB, free: 10 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008795/0.7423, allocations: 324.5 kB / 1.474 GB, free: 9.672 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.7435, allocations: 0.6707 MB / 1.475 GB, free: 8.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008342/0.7519, allocations: 1.857 MB / 1.477 GB, free: 6.996 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.7519, allocations: 4 kB / 1.477 GB, free: 6.992 MB / 1.17 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008445/0.7603, allocations: 1.657 MB / 1.478 GB, free: 5.289 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.7604, allocations: 61.28 kB / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7604, allocations: 0 / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.7623, allocations: 407.1 kB / 1.479 GB, free: 4.809 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.763, allocations: 95.8 kB / 1.479 GB, free: 4.715 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.7694, allocations: 4.417 MB / 1.483 GB, free: 40 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7706, allocations: 95.66 kB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7707, allocations: 39.95 kB / 1.483 GB, free: 15.9 MB / 1.186 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.0003602/0.7711, allocations: 177.2 kB / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.7712, allocations: 43.72 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.7713, allocations: 43.33 kB / 1.483 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7713, allocations: 4.188 kB / 1.483 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7713, allocations: 0 / 1.483 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7713, allocations: 3.984 kB / 1.483 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.7718, allocations: 349.1 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7718, allocations: 0 / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.7721, allocations: 35.91 kB / 1.484 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000672/0.7728, allocations: 229.5 kB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.7728, allocations: 11.98 kB / 1.484 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.7749, allocations: 1.496 MB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7749, allocations: 3.984 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007087/0.782, allocations: 1.292 MB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.7823, allocations: 87.52 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.7824, allocations: 19.98 kB / 1.487 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.7829, allocations: 43.89 kB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.7831, allocations: 35.94 kB / 1.487 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.7831, allocations: 11.98 kB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004999/0.7836, allocations: 283.1 kB / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.7836, allocations: 0 / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009295/0.7845, allocations: 163.9 kB / 1.487 GB, free: 11.48 MB / 1.186 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.0003998/0.7849, allocations: 176.2 kB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003608/0.7885, allocations: 1.071 MB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7885, allocations: 0 / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.7903, allocations: 319.9 kB / 1.489 GB, free: 9.844 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.7909, allocations: 94.66 kB / 1.489 GB, free: 9.754 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.7929, allocations: 0.9125 MB / 1.49 GB, free: 8.824 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.7932, allocations: 203.8 kB / 1.49 GB, free: 8.602 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000295/0.7935, allocations: 51.2 kB / 1.49 GB, free: 8.551 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.7936, allocations: 43.41 kB / 1.49 GB, free: 8.508 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.7936, allocations: 0 / 1.49 GB, free: 8.508 MB / 1.186 GB Notification: Performance of Templates: time 0.0249/0.8185, allocations: 13.86 MB / 1.504 GB, free: 10.77 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.24358533899067]