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.00131/0.00131, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001039/0.001039, allocations: 163 kB / 24.86 MB, free: 8.715 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.9972/0.9972, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.834/1.834, allocations: 377.8 MB / 0.6247 GB, free: 8.418 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 2.585e-06/2.585e-06, allocations: 4 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.569e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003104/0.003129, allocations: 2.967 MB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1236/0.1267, allocations: 142.3 MB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.127, allocations: 3.938 kB / 0.9547 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1273, allocations: 95.16 kB / 0.9548 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.1279, allocations: 293.8 kB / 0.9551 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1294, allocations: 0.8023 MB / 0.9558 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000816/0.1302, allocations: 0.8067 MB / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1304, allocations: 62.23 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006705/0.131, allocations: 467.1 kB / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.1314, allocations: 263.3 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.278e-05/0.1315, allocations: 60 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009582/0.1324, allocations: 0.5418 MB / 0.958 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1325, allocations: 155.5 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1327, allocations: 215.5 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009924/0.1337, allocations: 0.7944 MB / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1337, allocations: 7.875 kB / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1337, allocations: 0 / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1337, allocations: 4 kB / 0.9591 GB, free: 11.1 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.001636/0.1353, allocations: 1.129 MB / 0.9602 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1354, allocations: 8.031 kB / 0.9602 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.1369, allocations: 332.3 kB / 0.9605 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.1374, allocations: 347.4 kB / 0.9609 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.1374, allocations: 92.41 kB / 0.961 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.052e-05/0.1375, allocations: 52.08 kB / 0.961 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.1379, allocations: 287.3 kB / 0.9613 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1379, allocations: 0 / 0.9613 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.1379, allocations: 15.98 kB / 0.9613 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1379, allocations: 4 kB / 0.9613 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1381, allocations: 107.3 kB / 0.9614 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.1403, allocations: 1.571 MB / 0.9629 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1405, allocations: 123 kB / 0.9631 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.1406, allocations: 59.66 kB / 0.9631 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1406, allocations: 11.94 kB / 0.9631 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.1409, allocations: 212.1 kB / 0.9633 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.1409, allocations: 4 kB / 0.9633 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.003442/0.1443, allocations: 0.9819 MB / 0.9643 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1444, allocations: 93.05 kB / 0.9644 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.1447, allocations: 454.2 kB / 0.9648 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.1447, allocations: 41.7 kB / 0.9649 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1449, allocations: 260.3 kB / 0.9651 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.145, allocations: 103.1 kB / 0.9652 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1451, allocations: 171.8 kB / 0.9654 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1453, allocations: 0.5312 MB / 0.9659 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1455, allocations: 156.6 kB / 0.966 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.1458, allocations: 489.4 kB / 0.9665 GB, free: 3.141 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.1464, allocations: 0.5094 MB / 0.967 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1464, allocations: 0 / 0.967 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003027/0.1494, allocations: 1.24 MB / 0.9682 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.1495, allocations: 63.41 kB / 0.9683 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1495, allocations: 0 / 0.9683 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.1505, allocations: 410.2 kB / 0.9687 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.1508, allocations: 91.86 kB / 0.9687 GB, free: 0.707 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.1542, allocations: 5.7 MB / 0.9743 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.1547, allocations: 83.48 kB / 0.9744 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.1548, allocations: 39.89 kB / 0.9744 GB, free: 10.59 MB / 0.9323 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.0002187/0.155, allocations: 204.3 kB / 0.9746 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.1551, allocations: 55.7 kB / 0.9747 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1551, allocations: 39.34 kB / 0.9747 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1551, allocations: 4.141 kB / 0.9747 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1551, allocations: 0 / 0.9747 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1551, allocations: 3.984 kB / 0.9747 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.1554, allocations: 284.9 kB / 0.975 GB, free: 9.973 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1554, allocations: 0 / 0.975 GB, free: 9.973 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.1555, allocations: 19.98 kB / 0.975 GB, free: 9.953 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.1557, allocations: 155.2 kB / 0.9752 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1558, allocations: 11.98 kB / 0.9752 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009108/0.1567, allocations: 1.962 MB / 0.9771 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1567, allocations: 0 / 0.9771 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.1593, allocations: 0.9269 MB / 0.978 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.1595, allocations: 83.52 kB / 0.9781 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.1595, allocations: 8 kB / 0.9781 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1597, allocations: 27.97 kB / 0.9781 GB, free: 6.684 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.1598, allocations: 39.88 kB / 0.9782 GB, free: 6.645 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.1598, allocations: 15.97 kB / 0.9782 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001555/0.16, allocations: 275 kB / 0.9784 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.9784 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005077/0.1605, allocations: 163.8 kB / 0.9786 GB, free: 6.203 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.0002687/0.1607, allocations: 179 kB / 0.9788 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.162, allocations: 0.9312 MB / 0.9797 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.162, allocations: 0 / 0.9797 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005198/0.1625, allocations: 234.5 kB / 0.9799 GB, free: 4.762 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1629, allocations: 122.4 kB / 0.98 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1641, allocations: 0.7982 MB / 0.9808 GB, free: 3.824 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.1642, allocations: 101.3 kB / 0.9809 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.1643, allocations: 47.27 kB / 0.9809 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.1646, allocations: 202 kB / 0.9811 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of SimCode: time 1.102e-06/0.1646, allocations: 4 kB / 0.9811 GB, free: 3.453 MB / 0.9323 GB Notification: Performance of Templates: time 0.0165/0.1811, allocations: 14.64 MB / 0.9954 GB, free: 4.977 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.539044730830938]