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.001017/0.001017, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009152/0.0009152, allocations: 169 kB / 23.02 MB, free: 1.547 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.902/0.902, allocations: 177.1 MB / 203.4 MB, free: 5.645 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 1.938/1.938, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.874e-06/1.874e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.922e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00343/0.00346, allocations: 3.042 MB / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.1455, allocations: 145.1 MB / 1.023 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1458, allocations: 7.938 kB / 1.023 GB, free: 1.66 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.1462, allocations: 95.14 kB / 1.023 GB, free: 1.566 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.1469, allocations: 305.8 kB / 1.023 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1484, allocations: 0.7945 MB / 1.024 GB, free: 480 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008458/0.1492, allocations: 0.8146 MB / 1.025 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1494, allocations: 66.12 kB / 1.025 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.15, allocations: 459.1 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.1503, allocations: 283.2 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.1504, allocations: 60 kB / 1.026 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.1513, allocations: 0.5418 MB / 1.026 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1514, allocations: 151.5 kB / 1.026 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.1516, allocations: 223.5 kB / 1.027 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.1525, allocations: 0.7983 MB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1525, allocations: 0 / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1525, allocations: 3.938 kB / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.1525, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.9948 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.001647/0.1541, allocations: 1.125 MB / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1542, allocations: 8.031 kB / 1.028 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.1556, allocations: 324.3 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.1561, allocations: 359.3 kB / 1.029 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/0.1562, allocations: 100.3 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.1562, allocations: 48.11 kB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.1567, allocations: 315.3 kB / 1.029 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1567, allocations: 0 / 1.029 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.1567, allocations: 8 kB / 1.03 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1567, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.1569, allocations: 130.8 kB / 1.03 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.1592, allocations: 1.629 MB / 1.031 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1595, allocations: 139.2 kB / 1.031 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1596, allocations: 71.64 kB / 1.031 GB, free: 8.66 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1597, allocations: 8 kB / 1.031 GB, free: 8.652 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.1599, allocations: 225.5 kB / 1.032 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.16, allocations: 0 / 1.032 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.003422/0.1634, allocations: 1.041 MB / 1.033 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1634, allocations: 92.98 kB / 1.033 GB, free: 7.246 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.1638, allocations: 462.5 kB / 1.033 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.1638, allocations: 41.7 kB / 1.033 GB, free: 6.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.164, allocations: 256.4 kB / 1.033 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.164, allocations: 99.17 kB / 1.034 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.1642, allocations: 163.9 kB / 1.034 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1644, allocations: 0.5235 MB / 1.034 GB, free: 5.676 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.1647, allocations: 188.6 kB / 1.034 GB, free: 5.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.1651, allocations: 0.5093 MB / 1.035 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.1658, allocations: 0.5636 MB / 1.035 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1658, allocations: 0 / 1.035 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003085/0.1688, allocations: 1.314 MB / 1.037 GB, free: 2.891 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.1689, allocations: 67.39 kB / 1.037 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1689, allocations: 0 / 1.037 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.17, allocations: 410.4 kB / 1.037 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1702, allocations: 91.88 kB / 1.037 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.1738, allocations: 5.772 MB / 1.043 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.1742, allocations: 83.53 kB / 1.043 GB, free: 12.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.1743, allocations: 39.95 kB / 1.043 GB, free: 12.1 MB / 1.01 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.0001967/0.1745, allocations: 200.6 kB / 1.043 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.1745, allocations: 59.7 kB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.1746, allocations: 39.34 kB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1746, allocations: 7.938 kB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1746, allocations: 0 / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1746, allocations: 0 / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.1749, allocations: 340.2 kB / 1.044 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1749, allocations: 4 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.175, allocations: 15.98 kB / 1.044 GB, free: 11.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.1752, allocations: 159.2 kB / 1.044 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.1753, allocations: 19.91 kB / 1.044 GB, free: 11.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009235/0.1762, allocations: 1.962 MB / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1762, allocations: 0 / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.1787, allocations: 0.9597 MB / 1.047 GB, free: 8.199 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1789, allocations: 79.58 kB / 1.047 GB, free: 8.121 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.1789, allocations: 12 kB / 1.047 GB, free: 8.109 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.1791, allocations: 27.97 kB / 1.047 GB, free: 8.082 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.1792, allocations: 47.8 kB / 1.047 GB, free: 8.035 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.1792, allocations: 15.98 kB / 1.047 GB, free: 8.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001981/0.1794, allocations: 291 kB / 1.047 GB, free: 7.734 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 1.047 GB, free: 7.734 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004284/0.1798, allocations: 175.7 kB / 1.047 GB, free: 7.562 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.0002973/0.1801, allocations: 163.5 kB / 1.047 GB, free: 7.398 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.1815, allocations: 0.9897 MB / 1.048 GB, free: 6.324 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1815, allocations: 4.188 kB / 1.048 GB, free: 6.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.182, allocations: 236.8 kB / 1.049 GB, free: 6.078 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1824, allocations: 121.4 kB / 1.049 GB, free: 5.961 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1838, allocations: 0.8164 MB / 1.05 GB, free: 5.125 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.1838, allocations: 105.3 kB / 1.05 GB, free: 5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.184, allocations: 43.28 kB / 1.05 GB, free: 4.957 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1841, allocations: 40.47 kB / 1.05 GB, free: 4.918 MB / 1.01 GB Notification: Performance of SimCode: time 9.42e-07/0.1841, allocations: 0 / 1.05 GB, free: 4.918 MB / 1.01 GB Notification: Performance of Templates: time 0.4323/0.6164, allocations: 14.46 MB / 1.064 GB, free: 77.87 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.10459063295275]