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.001179/0.001179, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001334/0.001334, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.9125/0.9125, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.78/1.78, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.608e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004431/0.004457, allocations: 3.018 MB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1248/0.1293, allocations: 145 MB / 0.9562 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.1295, allocations: 7.938 kB / 0.9562 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1298, allocations: 79.22 kB / 0.9563 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007123/0.1305, allocations: 309.7 kB / 0.9566 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1319, allocations: 0.7984 MB / 0.9573 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007605/0.1327, allocations: 0.799 MB / 0.9581 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1328, allocations: 74.22 kB / 0.9582 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.1333, allocations: 451.1 kB / 0.9586 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.1337, allocations: 267.3 kB / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.474e-05/0.1337, allocations: 60 kB / 0.9589 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.1346, allocations: 0.5457 MB / 0.9595 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.382e-05/0.1347, allocations: 155.5 kB / 0.9596 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.1348, allocations: 219.5 kB / 0.9598 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1359, allocations: 0.7944 MB / 0.9606 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1359, allocations: 7.922 kB / 0.9606 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1359, allocations: 0 / 0.9606 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.136, allocations: 0 / 0.9606 GB, free: 8.59 MB / 0.9167 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.001507/0.1375, allocations: 1.118 MB / 0.9617 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1375, allocations: 8.031 kB / 0.9617 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.1389, allocations: 328.2 kB / 0.962 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.1394, allocations: 363.4 kB / 0.9624 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.1394, allocations: 92.45 kB / 0.9624 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.1395, allocations: 48.08 kB / 0.9625 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.1399, allocations: 315.3 kB / 0.9628 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1399, allocations: 0 / 0.9628 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1399, allocations: 12 kB / 0.9628 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.14, allocations: 7.984 kB / 0.9628 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1401, allocations: 126.8 kB / 0.9629 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.1423, allocations: 1.625 MB / 0.9645 GB, free: 4.402 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1425, allocations: 131.1 kB / 0.9646 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1427, allocations: 75.64 kB / 0.9647 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1427, allocations: 7.938 kB / 0.9647 GB, free: 4.176 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.1429, allocations: 228.2 kB / 0.9649 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.293e-06/0.1429, allocations: 0 / 0.9649 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.003197/0.1461, allocations: 1.036 MB / 0.966 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1462, allocations: 81.11 kB / 0.966 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.1465, allocations: 466.4 kB / 0.9665 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.1465, allocations: 37.7 kB / 0.9665 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1467, allocations: 260.4 kB / 0.9668 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.1467, allocations: 103.2 kB / 0.9669 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.1469, allocations: 163.9 kB / 0.967 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000344/0.1472, allocations: 0.5313 MB / 0.9675 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1475, allocations: 192.6 kB / 0.9677 GB, free: 0.9961 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.1479, allocations: 0.5053 MB / 0.9682 GB, free: 400 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000652/0.1485, allocations: 0.5685 MB / 0.9688 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1485, allocations: 0 / 0.9688 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003193/0.1517, allocations: 1.313 MB / 0.97 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.1518, allocations: 59.41 kB / 0.9701 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1518, allocations: 4 kB / 0.9701 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.1528, allocations: 406.5 kB / 0.9705 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.1531, allocations: 91.81 kB / 0.9706 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.1565, allocations: 5.763 MB / 0.9762 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.1569, allocations: 87.47 kB / 0.9763 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.157, allocations: 39.97 kB / 0.9763 GB, free: 7.625 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.000188/0.1572, allocations: 196.5 kB / 0.9765 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1573, allocations: 51.72 kB / 0.9766 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1573, allocations: 39.34 kB / 0.9766 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1573, allocations: 8.078 kB / 0.9766 GB, free: 7.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1573, allocations: 0 / 0.9766 GB, free: 7.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1573, allocations: 11.97 kB / 0.9766 GB, free: 7.309 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.1576, allocations: 336.3 kB / 0.9769 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1576, allocations: 0 / 0.9769 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.1577, allocations: 23.92 kB / 0.977 GB, free: 6.922 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.1579, allocations: 163.2 kB / 0.9771 GB, free: 6.754 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.1579, allocations: 11.98 kB / 0.9771 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008516/0.1588, allocations: 1.958 MB / 0.979 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1588, allocations: 0 / 0.979 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.1612, allocations: 0.9677 MB / 0.98 GB, free: 3.723 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1613, allocations: 79.59 kB / 0.9801 GB, free: 3.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1613, allocations: 11.98 kB / 0.9801 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1615, allocations: 27.97 kB / 0.9801 GB, free: 3.605 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.1616, allocations: 31.94 kB / 0.9801 GB, free: 3.574 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.1616, allocations: 19.98 kB / 0.9802 GB, free: 3.555 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001834/0.1618, allocations: 291 kB / 0.9804 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1618, allocations: 0 / 0.9804 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003992/0.1622, allocations: 171.8 kB / 0.9806 GB, free: 3.102 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.0002456/0.1624, allocations: 177.6 kB / 0.9808 GB, free: 2.922 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.1639, allocations: 0.9691 MB / 0.9817 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1639, allocations: 0 / 0.9817 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.1644, allocations: 246.6 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1648, allocations: 117.6 kB / 0.9821 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.166, allocations: 0.8083 MB / 0.9829 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.166, allocations: 105.3 kB / 0.983 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000146/0.1662, allocations: 47.27 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.1663, allocations: 48.47 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of SimCode: time 6.52e-07/0.1663, allocations: 0 / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of Templates: time 0.01525/0.1815, allocations: 14.37 MB / 0.9971 GB, free: 2.227 MB / 0.948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.405147219076753]