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.0009578/0.0009578, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.0009492/0.0009492, allocations: 181 kB / 24.09 MB, free: 420 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.9568/0.9568, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.825/1.825, allocations: 377.9 MB / 0.6239 GB, free: 8.426 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.443e-06/1.443e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.933e-05, allocations: 3.219 kB / 0.8121 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003167/0.003186, allocations: 2.97 MB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1225/0.1257, allocations: 142.3 MB / 0.9539 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.126, allocations: 4 kB / 0.9539 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1262, allocations: 83.16 kB / 0.954 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006917/0.1269, allocations: 309.7 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.1284, allocations: 0.7945 MB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000733/0.1292, allocations: 0.7989 MB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1293, allocations: 66.23 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.1298, allocations: 459.1 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.1302, allocations: 263.3 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-05/0.1303, allocations: 68 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1314, allocations: 0.5379 MB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1315, allocations: 159.5 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.1317, allocations: 215.5 kB / 0.9576 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009376/0.1326, allocations: 0.8021 MB / 0.9583 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1326, allocations: 0 / 0.9583 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1326, allocations: 0 / 0.9583 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.1326, allocations: 0 / 0.9583 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.001538/0.1342, allocations: 1.133 MB / 0.9595 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1342, allocations: 12.03 kB / 0.9595 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.1356, allocations: 324.3 kB / 0.9598 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.136, allocations: 355.3 kB / 0.9601 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.1361, allocations: 96.47 kB / 0.9602 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/0.1362, allocations: 52.06 kB / 0.9603 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.1366, allocations: 291.3 kB / 0.9605 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1366, allocations: 3.938 kB / 0.9605 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.1366, allocations: 15.94 kB / 0.9606 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1366, allocations: 7.984 kB / 0.9606 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1367, allocations: 95.34 kB / 0.9606 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.1389, allocations: 1.579 MB / 0.9622 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1391, allocations: 123.1 kB / 0.9623 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.1392, allocations: 59.59 kB / 0.9624 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1392, allocations: 7.984 kB / 0.9624 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.1394, allocations: 208.2 kB / 0.9626 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.1394, allocations: 0 / 0.9626 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.003141/0.1426, allocations: 1.009 MB / 0.9636 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1426, allocations: 81.11 kB / 0.9636 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.1432, allocations: 462.2 kB / 0.9641 GB, free: 4.977 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.1432, allocations: 41.64 kB / 0.9641 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1434, allocations: 264.3 kB / 0.9644 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.1434, allocations: 103.1 kB / 0.9645 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.1436, allocations: 167.8 kB / 0.9646 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1438, allocations: 0.5351 MB / 0.9651 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.144, allocations: 160.6 kB / 0.9653 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.1443, allocations: 485.5 kB / 0.9658 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.1448, allocations: 0.4977 MB / 0.9662 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1448, allocations: 0 / 0.9662 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002858/0.1477, allocations: 1.263 MB / 0.9675 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.1477, allocations: 63.39 kB / 0.9675 GB, free: 1.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.1477, allocations: 4 kB / 0.9675 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.1487, allocations: 406.2 kB / 0.9679 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.149, allocations: 95.81 kB / 0.968 GB, free: 0.6562 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.1525, allocations: 5.687 MB / 0.9736 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.1529, allocations: 95.47 kB / 0.9737 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.153, allocations: 35.89 kB / 0.9737 GB, free: 10.55 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.0001963/0.1532, allocations: 192.5 kB / 0.9739 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.1533, allocations: 59.72 kB / 0.9739 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.1533, allocations: 43.33 kB / 0.974 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1533, allocations: 0 / 0.974 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1533, allocations: 4 kB / 0.974 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1533, allocations: 0 / 0.974 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.1536, allocations: 284.9 kB / 0.9743 GB, free: 9.934 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1536, allocations: 4 kB / 0.9743 GB, free: 9.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.1537, allocations: 15.98 kB / 0.9743 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/0.1539, allocations: 159.1 kB / 0.9744 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1539, allocations: 11.98 kB / 0.9744 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008437/0.1548, allocations: 1.955 MB / 0.9764 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1548, allocations: 8.094 kB / 0.9764 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.1571, allocations: 0.9367 MB / 0.9773 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.1572, allocations: 79.53 kB / 0.9774 GB, free: 6.668 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.1573, allocations: 15.98 kB / 0.9774 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1575, allocations: 31.97 kB / 0.9774 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.1575, allocations: 31.94 kB / 0.9774 GB, free: 6.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1576, allocations: 15.97 kB / 0.9774 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000154/0.1577, allocations: 279 kB / 0.9777 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1577, allocations: 0 / 0.9777 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004491/0.1582, allocations: 167.8 kB / 0.9779 GB, free: 6.141 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.0004997/0.1587, allocations: 169.1 kB / 0.978 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.1598, allocations: 0.9312 MB / 0.9789 GB, free: 4.953 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1598, allocations: 0 / 0.9789 GB, free: 4.953 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.1603, allocations: 240.9 kB / 0.9792 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1607, allocations: 125.8 kB / 0.9793 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1618, allocations: 0.7982 MB / 0.9801 GB, free: 3.766 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.1618, allocations: 105.3 kB / 0.9802 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.162, allocations: 51.27 kB / 0.9802 GB, free: 3.59 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.1623, allocations: 198.1 kB / 0.9804 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of SimCode: time 7.42e-07/0.1623, allocations: 4 kB / 0.9804 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of Templates: time 0.01575/0.178, allocations: 14.31 MB / 0.9944 GB, free: 5.281 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.360702159814537]