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.001614/0.001614, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001075/0.001075, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.953/0.953, allocations: 177.1 MB / 204.5 MB, free: 5.07 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.288/2.288, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.413e-06/1.413e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.421e-05, allocations: 3.406 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004388/0.004413, allocations: 3.004 MB / 0.8824 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1208/0.1252, allocations: 142.3 MB / 1.021 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.1255, allocations: 3.938 kB / 1.021 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1258, allocations: 91.14 kB / 1.021 GB, free: 4.074 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006368/0.1264, allocations: 301.8 kB / 1.022 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1278, allocations: 0.8061 MB / 1.023 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.1283, allocations: 0.8068 MB / 1.023 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1285, allocations: 62.25 kB / 1.023 GB, free: 2.094 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.1288, allocations: 459.1 kB / 1.024 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.1291, allocations: 271.3 kB / 1.024 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.1292, allocations: 64 kB / 1.024 GB, free: 1.316 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.13, allocations: 0.5534 MB / 1.025 GB, free: 0.7617 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1301, allocations: 151.5 kB / 1.025 GB, free: 0.6133 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1302, allocations: 227.5 kB / 1.025 GB, free: 400 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007798/0.131, allocations: 0.8021 MB / 1.026 GB, free: 15.59 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.131, allocations: 0 / 1.026 GB, free: 15.59 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.663e-06/0.131, allocations: 0 / 1.026 GB, free: 15.59 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.131, allocations: 4 kB / 1.026 GB, free: 15.58 MB / 0.9949 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.001476/0.1325, allocations: 1.121 MB / 1.027 GB, free: 14.4 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1325, allocations: 16.03 kB / 1.027 GB, free: 14.39 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.134, allocations: 328.2 kB / 1.027 GB, free: 14.07 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.1344, allocations: 351.3 kB / 1.028 GB, free: 13.7 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.1344, allocations: 96.45 kB / 1.028 GB, free: 13.59 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.1345, allocations: 40.12 kB / 1.028 GB, free: 13.55 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.1349, allocations: 299.2 kB / 1.028 GB, free: 13.23 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1349, allocations: 0 / 1.028 GB, free: 13.23 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.1349, allocations: 11.98 kB / 1.028 GB, free: 13.22 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1349, allocations: 8 kB / 1.028 GB, free: 13.21 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1351, allocations: 99.34 kB / 1.028 GB, free: 13.12 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.1372, allocations: 1.583 MB / 1.03 GB, free: 11.49 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1374, allocations: 123.8 kB / 1.03 GB, free: 11.36 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.1375, allocations: 59.59 kB / 1.03 GB, free: 11.29 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1376, allocations: 4 kB / 1.03 GB, free: 11.29 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.1378, allocations: 217.3 kB / 1.03 GB, free: 11.05 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.1378, allocations: 3.938 kB / 1.03 GB, free: 11.05 MB / 0.9949 GB Notification: Performance of matching and sorting (n=30): time 0.003283/0.1411, allocations: 0.9943 MB / 1.031 GB, free: 10.04 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1411, allocations: 85.05 kB / 1.031 GB, free: 9.941 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.1414, allocations: 450.3 kB / 1.032 GB, free: 9.48 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.1415, allocations: 37.7 kB / 1.032 GB, free: 9.438 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1417, allocations: 268.3 kB / 1.032 GB, free: 9.172 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.1417, allocations: 103.1 kB / 1.032 GB, free: 9.07 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.1419, allocations: 167.8 kB / 1.032 GB, free: 8.898 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1421, allocations: 0.5351 MB / 1.033 GB, free: 8.352 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.1423, allocations: 156.6 kB / 1.033 GB, free: 8.188 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.1426, allocations: 489.5 kB / 1.033 GB, free: 7.609 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.1431, allocations: 0.506 MB / 1.034 GB, free: 7.051 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1431, allocations: 0 / 1.034 GB, free: 7.051 MB / 0.9949 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003029/0.1462, allocations: 1.239 MB / 1.035 GB, free: 5.762 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.1462, allocations: 62.38 kB / 1.035 GB, free: 5.691 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1462, allocations: 4 kB / 1.035 GB, free: 5.688 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.1473, allocations: 410.3 kB / 1.035 GB, free: 5.27 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.1475, allocations: 91.81 kB / 1.035 GB, free: 5.18 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.1508, allocations: 5.7 MB / 1.041 GB, free: 15.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.1513, allocations: 91.56 kB / 1.041 GB, free: 15.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.1514, allocations: 35.89 kB / 1.041 GB, free: 15.06 MB / 1.01 GB Warning: Assuming fixed start value for the following 2 variables: evaSho.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean evaNor.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 (intSho.local_reset,intNor.local_reset,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,$PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4) * 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.0001969/0.1516, allocations: 193.5 kB / 1.041 GB, free: 14.87 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.1517, allocations: 59.7 kB / 1.041 GB, free: 14.81 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.1517, allocations: 43.53 kB / 1.041 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1517, allocations: 3.984 kB / 1.041 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1517, allocations: 4 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1517, allocations: 0 / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.152, allocations: 288.8 kB / 1.042 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.152, allocations: 0 / 1.042 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.1521, allocations: 23.91 kB / 1.042 GB, free: 14.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.1523, allocations: 151.2 kB / 1.042 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.1523, allocations: 11.98 kB / 1.042 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008686/0.1532, allocations: 1.966 MB / 1.044 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1532, allocations: 0 / 1.044 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.1556, allocations: 0.9158 MB / 1.045 GB, free: 11.28 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.1557, allocations: 87.52 kB / 1.045 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.1558, allocations: 8 kB / 1.045 GB, free: 11.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1559, allocations: 31.97 kB / 1.045 GB, free: 11.16 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.156, allocations: 39.92 kB / 1.045 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.156, allocations: 11.98 kB / 1.045 GB, free: 11.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000153/0.1562, allocations: 275 kB / 1.045 GB, free: 10.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.1562, allocations: 0 / 1.045 GB, free: 10.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004444/0.1566, allocations: 171.8 kB / 1.045 GB, free: 10.67 MB / 1.01 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.0002529/0.1569, allocations: 174.9 kB / 1.045 GB, free: 10.49 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.1581, allocations: 0.9362 MB / 1.046 GB, free: 9.473 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1581, allocations: 0 / 1.046 GB, free: 9.473 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.1586, allocations: 226.5 kB / 1.047 GB, free: 9.238 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.159, allocations: 137.5 kB / 1.047 GB, free: 9.105 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1601, allocations: 0.7953 MB / 1.048 GB, free: 8.285 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.535e-05/0.1602, allocations: 105.3 kB / 1.048 GB, free: 8.16 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.1603, allocations: 55.2 kB / 1.048 GB, free: 8.105 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.1606, allocations: 198.1 kB / 1.048 GB, free: 7.91 MB / 1.01 GB Notification: Performance of SimCode: time 1.142e-06/0.1606, allocations: 4 kB / 1.048 GB, free: 7.906 MB / 1.01 GB Notification: Performance of Templates: time 0.3679/0.5285, allocations: 14.74 MB / 1.062 GB, free: 80 MB / 1.01 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: 6.515826691873372]