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.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.001328/0.001328, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001529/0.001529, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 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.112/1.112, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.248/2.248, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.974e-06/1.974e-06, allocations: 1.094 kB / 0.8782 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.019e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003742/0.003772, allocations: 3.028 MB / 0.8812 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.7101/0.7139, allocations: 149.2 MB / 1.027 GB, free: 18.65 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.7142, allocations: 6.531 kB / 1.027 GB, free: 18.65 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.7145, allocations: 81.7 kB / 1.027 GB, free: 18.65 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0008513/0.7154, allocations: 304.2 kB / 1.027 GB, free: 18.64 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.7176, allocations: 1.012 MB / 1.028 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.7187, allocations: 0.8179 MB / 1.029 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.7188, allocations: 61.92 kB / 1.029 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006209/0.7195, allocations: 460.4 kB / 1.03 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.7199, allocations: 272.6 kB / 1.03 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.72, allocations: 60.38 kB / 1.03 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.7214, allocations: 0.7406 MB / 1.031 GB, free: 18.58 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.7216, allocations: 155.3 kB / 1.031 GB, free: 18.58 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.7219, allocations: 221.5 kB / 1.031 GB, free: 18.58 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.7233, allocations: 0.8696 MB / 1.032 GB, free: 18.52 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7233, allocations: 2.656 kB / 1.032 GB, free: 18.52 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7233, allocations: 0.8125 kB / 1.032 GB, free: 18.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.7233, allocations: 0.5 kB / 1.032 GB, free: 18.52 MB / 0.9323 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.00202/0.7253, allocations: 1.135 MB / 1.033 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7253, allocations: 10.45 kB / 1.033 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.7271, allocations: 332 kB / 1.033 GB, free: 17.82 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.7277, allocations: 357.6 kB / 1.034 GB, free: 17.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/0.7278, allocations: 100 kB / 1.034 GB, free: 17.55 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.7279, allocations: 41 kB / 1.034 GB, free: 17.55 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.7285, allocations: 316.3 kB / 1.034 GB, free: 17.46 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.7285, allocations: 1.906 kB / 1.034 GB, free: 17.46 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.7285, allocations: 14.14 kB / 1.034 GB, free: 17.46 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.7285, allocations: 6.609 kB / 1.034 GB, free: 17.46 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.7288, allocations: 119.9 kB / 1.034 GB, free: 17.46 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.7314, allocations: 1.634 MB / 1.036 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.7317, allocations: 128.8 kB / 1.036 GB, free: 16.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.7318, allocations: 73.7 kB / 1.036 GB, free: 16.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.7319, allocations: 4.422 kB / 1.036 GB, free: 16.59 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/0.7323, allocations: 233.5 kB / 1.036 GB, free: 16.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.7323, allocations: 0.5 kB / 1.036 GB, free: 16.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.004138/0.7365, allocations: 1.039 MB / 1.037 GB, free: 16.41 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.7365, allocations: 93.16 kB / 1.037 GB, free: 16.31 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.737, allocations: 453.5 kB / 1.038 GB, free: 16.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.737, allocations: 44.75 kB / 1.038 GB, free: 16.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7371, allocations: 258.4 kB / 1.038 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.7372, allocations: 98.92 kB / 1.038 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.7374, allocations: 162.4 kB / 1.038 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.7375, allocations: 0.525 MB / 1.039 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.7379, allocations: 191.9 kB / 1.039 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.7383, allocations: 0.503 MB / 1.039 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.7391, allocations: 0.5657 MB / 1.04 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7391, allocations: 2.656 kB / 1.04 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003529/0.7426, allocations: 1.312 MB / 1.041 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.7426, allocations: 61.39 kB / 1.041 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7426, allocations: 2.781 kB / 1.041 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.7438, allocations: 413.6 kB / 1.042 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.7441, allocations: 88.94 kB / 1.042 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.7469, allocations: 5.772 MB / 1.047 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.7473, allocations: 89.17 kB / 1.047 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.7474, allocations: 40.02 kB / 1.048 GB, free: 8.887 MB / 0.9323 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.0001799/0.7476, allocations: 194.8 kB / 1.048 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.7476, allocations: 57.16 kB / 1.048 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.7477, allocations: 45.48 kB / 1.048 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.7477, allocations: 9.109 kB / 1.048 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.7477, allocations: 0 / 1.048 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7477, allocations: 3.312 kB / 1.048 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.748, allocations: 331.6 kB / 1.048 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.748, allocations: 0 / 1.048 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.7481, allocations: 23.27 kB / 1.048 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.7484, allocations: 159.6 kB / 1.048 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.7484, allocations: 12.47 kB / 1.048 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007201/0.7491, allocations: 1.968 MB / 1.05 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7491, allocations: 0 / 1.05 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.7519, allocations: 0.9554 MB / 1.051 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.752, allocations: 84.5 kB / 1.051 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.7521, allocations: 8.188 kB / 1.051 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.7523, allocations: 30.06 kB / 1.051 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.7524, allocations: 42.56 kB / 1.051 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.7524, allocations: 13.31 kB / 1.051 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002313/0.7526, allocations: 292.4 kB / 1.052 GB, free: 6.371 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.7526, allocations: 1.188 kB / 1.052 GB, free: 6.371 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005374/0.7532, allocations: 170.5 kB / 1.052 GB, free: 6.355 MB / 0.9323 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.0002913/0.7535, allocations: 179.3 kB / 1.052 GB, free: 6.266 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.7549, allocations: 0.9848 MB / 1.053 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7549, allocations: 1.781 kB / 1.053 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.7556, allocations: 241.9 kB / 1.053 GB, free: 5.613 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.756, allocations: 118.9 kB / 1.053 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.7574, allocations: 0.8242 MB / 1.054 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.758e-05/0.7575, allocations: 106.4 kB / 1.054 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.7577, allocations: 48.48 kB / 1.054 GB, free: 5.102 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.7578, allocations: 40.77 kB / 1.054 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of SimCode: time 7.61e-07/0.7578, allocations: 0.8438 kB / 1.054 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of Templates: time 0.01807/0.7758, allocations: 13.5 MB / 1.067 GB, free: 3.859 MB / 0.9323 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.227702152915299]