Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 116 kB / 17.08 MB, free: 5.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 192.7 kB / 20.03 MB, free: 2.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.153/3.153, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 71.89 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004131/1.157, allocations: 3.012 MB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.214/1.371, allocations: 153.4 MB / 1.415 GB, free: 4.059 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/1.371, allocations: 7.344 kB / 1.415 GB, free: 4.055 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/1.372, allocations: 92.84 kB / 1.415 GB, free: 3.977 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/1.373, allocations: 284.6 kB / 1.416 GB, free: 3.75 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/1.375, allocations: 1.006 MB / 1.417 GB, free: 3.035 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001053/1.377, allocations: 0.7902 MB / 1.417 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/1.377, allocations: 84.2 kB / 1.418 GB, free: 2.516 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/1.377, allocations: 321 kB / 1.418 GB, free: 2.34 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/1.378, allocations: 329.4 kB / 1.418 GB, free: 2.121 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.378, allocations: 59.94 kB / 1.418 GB, free: 2.121 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/1.38, allocations: 0.7946 MB / 1.419 GB, free: 1.727 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/1.38, allocations: 150.9 kB / 1.419 GB, free: 1.602 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/1.38, allocations: 290.4 kB / 1.419 GB, free: 1.398 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/1.382, allocations: 0.9728 MB / 1.42 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.382, allocations: 0 / 1.42 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.825e-06/1.382, allocations: 1.188 kB / 1.42 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.382, allocations: 0 / 1.42 GB, free: 0.7461 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.002886/1.385, allocations: 1.087 MB / 1.421 GB, free: 15.88 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.385, allocations: 9.156 kB / 1.421 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/1.387, allocations: 269.9 kB / 1.422 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/1.388, allocations: 402.1 kB / 1.422 GB, free: 15.41 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.388, allocations: 91.75 kB / 1.422 GB, free: 15.33 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.388, allocations: 43.67 kB / 1.422 GB, free: 15.31 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/1.389, allocations: 375 kB / 1.423 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.389, allocations: 0 / 1.423 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/1.389, allocations: 6.938 kB / 1.423 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.389, allocations: 9.25 kB / 1.423 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/1.39, allocations: 257.2 kB / 1.423 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/1.395, allocations: 1.682 MB / 1.424 GB, free: 13.59 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/1.396, allocations: 260 kB / 1.425 GB, free: 13.45 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/1.396, allocations: 155.6 kB / 1.425 GB, free: 13.37 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/1.396, allocations: 2.312 kB / 1.425 GB, free: 13.37 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007699/1.397, allocations: 307.3 kB / 1.425 GB, free: 13.16 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/1.397, allocations: 0 / 1.425 GB, free: 13.16 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.008433/1.405, allocations: 1.506 MB / 1.427 GB, free: 12.3 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/1.405, allocations: 86.59 kB / 1.427 GB, free: 12.2 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/1.406, allocations: 449.4 kB / 1.427 GB, free: 11.92 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.406, allocations: 43.23 kB / 1.427 GB, free: 11.88 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/1.406, allocations: 201.5 kB / 1.427 GB, free: 11.7 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/1.407, allocations: 103.1 kB / 1.427 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/1.407, allocations: 159.6 kB / 1.428 GB, free: 11.51 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001999/1.407, allocations: 352.4 kB / 1.428 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/1.408, allocations: 273.5 kB / 1.428 GB, free: 11.03 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/1.409, allocations: 423.1 kB / 1.429 GB, free: 10.77 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007936/1.417, allocations: 1.856 MB / 1.43 GB, free: 9.723 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.417, allocations: 0.9375 kB / 1.43 GB, free: 9.723 MB / 1.123 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007582/1.425, allocations: 1.567 MB / 1.432 GB, free: 8.891 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/1.425, allocations: 63.45 kB / 1.432 GB, free: 8.824 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.425, allocations: 1.625 kB / 1.432 GB, free: 8.824 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/1.427, allocations: 408.5 kB / 1.432 GB, free: 8.605 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/1.427, allocations: 86.23 kB / 1.433 GB, free: 8.582 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006617/1.434, allocations: 4.685 MB / 1.437 GB, free: 4.051 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.435, allocations: 104.4 kB / 1.437 GB, free: 3.984 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/1.435, allocations: 37.72 kB / 1.437 GB, free: 3.969 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.0003297/1.435, allocations: 176.2 kB / 1.437 GB, free: 3.812 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/1.435, allocations: 46.25 kB / 1.437 GB, free: 3.785 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/1.435, allocations: 41.61 kB / 1.437 GB, free: 3.758 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.435, allocations: 6.406 kB / 1.437 GB, free: 3.754 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.435, allocations: 9.25 kB / 1.438 GB, free: 3.746 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.436, allocations: 3.984 kB / 1.438 GB, free: 3.742 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/1.436, allocations: 469.2 kB / 1.438 GB, free: 3.344 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.436, allocations: 5.438 kB / 1.438 GB, free: 3.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/1.436, allocations: 28.62 kB / 1.438 GB, free: 3.328 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00067/1.437, allocations: 227 kB / 1.438 GB, free: 3.207 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/1.437, allocations: 12.23 kB / 1.438 GB, free: 3.199 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/1.439, allocations: 1.498 MB / 1.44 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.439, allocations: 1.156 kB / 1.44 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006429/1.446, allocations: 1.299 MB / 1.441 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/1.446, allocations: 160.7 kB / 1.441 GB, free: 432 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/1.446, allocations: 8 kB / 1.441 GB, free: 424 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/1.446, allocations: 39.95 kB / 1.441 GB, free: 384 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.447, allocations: 39.94 kB / 1.441 GB, free: 344 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/1.447, allocations: 15.98 kB / 1.441 GB, free: 328 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000421/1.447, allocations: 299.1 kB / 1.441 GB, free: 28 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.447, allocations: 0 / 1.441 GB, free: 28 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007424/1.448, allocations: 159.9 kB / 1.442 GB, free: 15.87 MB / 1.139 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.0003883/1.448, allocations: 184.7 kB / 1.442 GB, free: 15.69 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003379/1.452, allocations: 1.04 MB / 1.443 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.452, allocations: 0 / 1.443 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.453, allocations: 324.4 kB / 1.443 GB, free: 14.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/1.454, allocations: 113.4 kB / 1.443 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/1.456, allocations: 0.9412 MB / 1.444 GB, free: 13.19 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/1.456, allocations: 0.8074 MB / 1.445 GB, free: 12.36 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.456, allocations: 39.41 kB / 1.445 GB, free: 12.32 MB / 1.139 GB Notification: Performance of SimCode: time 7.51e-07/1.456, allocations: 0 / 1.445 GB, free: 12.32 MB / 1.139 GB Notification: Performance of Templates: time 0.01748/1.474, allocations: 12.23 MB / 1.457 GB, free: 124 kB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.373477826826274]