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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.152/3.152, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 8.281 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4169, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003109/0.4201, allocations: 2.564 MB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.6016, allocations: 139.4 MB / 1.197 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005053/0.6022, allocations: 7.938 kB / 1.197 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.6026, allocations: 67.52 kB / 1.197 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008809/0.6035, allocations: 234.5 kB / 1.197 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.6058, allocations: 0.7875 MB / 1.198 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.6066, allocations: 0.6744 MB / 1.198 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.6068, allocations: 73.75 kB / 1.198 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.6072, allocations: 283.1 kB / 1.199 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.6077, allocations: 306.9 kB / 1.199 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.6078, allocations: 36 kB / 1.199 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.6092, allocations: 0.5537 MB / 1.2 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.6093, allocations: 115.6 kB / 1.2 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.6095, allocations: 109.5 kB / 1.2 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.6103, allocations: 0.6663 MB / 1.2 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6103, allocations: 0 / 1.2 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6103, allocations: 0 / 1.2 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.6103, allocations: 4 kB / 1.2 GB, free: 3.012 MB / 0.9512 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.00241/0.6127, allocations: 0.9735 MB / 1.201 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6128, allocations: 8.031 kB / 1.201 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.615, allocations: 263.1 kB / 1.202 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.6157, allocations: 408.9 kB / 1.202 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.6158, allocations: 87.84 kB / 1.202 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.6159, allocations: 47.92 kB / 1.202 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/0.6167, allocations: 376.2 kB / 1.203 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6167, allocations: 0 / 1.203 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.6168, allocations: 19.94 kB / 1.203 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.6168, allocations: 8 kB / 1.203 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.6175, allocations: 281.4 kB / 1.203 GB, free: 440 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.6216, allocations: 1.696 MB / 1.205 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/0.6224, allocations: 274.7 kB / 1.205 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.6229, allocations: 172.8 kB / 1.205 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.6229, allocations: 3.984 kB / 1.205 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007658/0.6237, allocations: 316.8 kB / 1.205 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.6237, allocations: 0 / 1.205 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.00759/0.6313, allocations: 1.564 MB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.6314, allocations: 85.09 kB / 1.207 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.632, allocations: 445.7 kB / 1.207 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6321, allocations: 45.69 kB / 1.207 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.6323, allocations: 204.9 kB / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6324, allocations: 98.64 kB / 1.208 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.6325, allocations: 8 kB / 1.208 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6327, allocations: 358.8 kB / 1.208 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.6334, allocations: 289.1 kB / 1.208 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/0.6343, allocations: 425.8 kB / 1.209 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008637/0.6352, allocations: 342.8 kB / 1.209 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6352, allocations: 4 kB / 1.209 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006705/0.642, allocations: 1.632 MB / 1.211 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.6421, allocations: 59.41 kB / 1.211 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6421, allocations: 4 kB / 1.211 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.6437, allocations: 395.2 kB / 1.211 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.6443, allocations: 99.81 kB / 1.211 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/0.6502, allocations: 4.48 MB / 1.215 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6515, allocations: 115.2 kB / 1.216 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.6518, allocations: 35.95 kB / 1.216 GB, free: 2.75 MB / 0.9669 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 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006082/0.6524, allocations: 178.6 kB / 1.216 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.6526, allocations: 39.44 kB / 1.216 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.6528, allocations: 51.56 kB / 1.216 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6528, allocations: 4 kB / 1.216 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6528, allocations: 0 / 1.216 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6528, allocations: 0 / 1.216 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.6537, allocations: 473.1 kB / 1.216 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6537, allocations: 0 / 1.216 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6539, allocations: 35.97 kB / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006371/0.6546, allocations: 241.5 kB / 1.217 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.6546, allocations: 15.98 kB / 1.217 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.6565, allocations: 1.5 MB / 1.218 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-05/0.6566, allocations: 3.984 kB / 1.218 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/0.6627, allocations: 1.343 MB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.6631, allocations: 164.4 kB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.6632, allocations: 11.98 kB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.6637, allocations: 47.95 kB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.6639, allocations: 43.89 kB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.664, allocations: 11.98 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004796/0.6644, allocations: 299.1 kB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6645, allocations: 0 / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009321/0.6654, allocations: 156 kB / 1.22 GB, free: 14.01 MB / 0.9825 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004475/0.6659, allocations: 175.1 kB / 1.22 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00345/0.6693, allocations: 1.044 MB / 1.221 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6693, allocations: 0 / 1.221 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.6708, allocations: 341.6 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/0.6717, allocations: 118 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.6741, allocations: 1.034 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.6747, allocations: 0.8079 MB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004291/0.6751, allocations: 55.31 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.6753, allocations: 35.42 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of SimCode: time 1.463e-06/0.6753, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of Templates: time 0.02204/0.6973, allocations: 11.1 MB / 1.234 GB, free: 15.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches