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.001263/0.001263, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 199 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.855/2.855, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 69.36 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3057, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004612/0.3103, allocations: 3.045 MB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.4755, allocations: 151.2 MB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.476, allocations: 3.938 kB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.4766, allocations: 67.52 kB / 1.203 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.4777, allocations: 246.5 kB / 1.204 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.4802, allocations: 0.9292 MB / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.4811, allocations: 0.7446 MB / 1.205 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.4813, allocations: 86.06 kB / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.4818, allocations: 295 kB / 1.206 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005475/0.4824, allocations: 322.8 kB / 1.206 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.4825, allocations: 36 kB / 1.206 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.4842, allocations: 0.8731 MB / 1.207 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.4843, allocations: 135.5 kB / 1.207 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.4847, allocations: 266.8 kB / 1.207 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000943/0.4856, allocations: 0.6937 MB / 1.208 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4857, allocations: 3.938 kB / 1.208 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4857, allocations: 0 / 1.208 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.4857, allocations: 0 / 1.208 GB, free: 8.828 MB / 0.9669 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.00311/0.4888, allocations: 1.051 MB / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4889, allocations: 19.97 kB / 1.209 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.4916, allocations: 259.8 kB / 1.209 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.4923, allocations: 408.8 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.4924, allocations: 87.84 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.4925, allocations: 40 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.4934, allocations: 372.2 kB / 1.21 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4934, allocations: 0 / 1.21 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.4935, allocations: 12 kB / 1.21 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.4935, allocations: 8 kB / 1.21 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000798/0.4943, allocations: 257.4 kB / 1.21 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.4992, allocations: 1.685 MB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/0.5, allocations: 258.5 kB / 1.212 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.5006, allocations: 160.8 kB / 1.212 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.5006, allocations: 4 kB / 1.212 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007671/0.5014, allocations: 304.7 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.5014, allocations: 0 / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.009186/0.5106, allocations: 1.493 MB / 1.214 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.5107, allocations: 89.03 kB / 1.214 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.5113, allocations: 449.7 kB / 1.215 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5115, allocations: 45.64 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.5117, allocations: 208.8 kB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.5118, allocations: 90.8 kB / 1.215 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.5121, allocations: 158.2 kB / 1.215 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5122, allocations: 358.8 kB / 1.215 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/0.5131, allocations: 277.1 kB / 1.216 GB, free: 484 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009832/0.5141, allocations: 417.8 kB / 1.216 GB, free: 40 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008044/0.5221, allocations: 1.853 MB / 1.218 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5222, allocations: 0 / 1.218 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00779/0.53, allocations: 1.576 MB / 1.219 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.5301, allocations: 63.39 kB / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5301, allocations: 0 / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.5319, allocations: 399.1 kB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.5325, allocations: 91.8 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/0.5384, allocations: 4.456 MB / 1.224 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.5395, allocations: 103.6 kB / 1.224 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5396, allocations: 31.97 kB / 1.224 GB, free: 7.035 MB / 0.9825 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.0003314/0.54, allocations: 182.1 kB / 1.225 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5401, allocations: 47.38 kB / 1.225 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.5402, allocations: 43.58 kB / 1.225 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5402, allocations: 0 / 1.225 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5402, allocations: 4 kB / 1.225 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.5402, allocations: 3.984 kB / 1.225 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.5408, allocations: 481.1 kB / 1.225 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5408, allocations: 0 / 1.225 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.541, allocations: 23.97 kB / 1.225 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006328/0.5416, allocations: 229.5 kB / 1.225 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.5417, allocations: 11.98 kB / 1.225 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.5436, allocations: 1.492 MB / 1.227 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5436, allocations: 0 / 1.227 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006467/0.5501, allocations: 1.296 MB / 1.228 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.5503, allocations: 160.5 kB / 1.228 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.5504, allocations: 11.94 kB / 1.228 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.5509, allocations: 35.95 kB / 1.228 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.551, allocations: 43.88 kB / 1.228 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.5511, allocations: 15.98 kB / 1.228 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003849/0.5515, allocations: 307.1 kB / 1.229 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5515, allocations: 0 / 1.229 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006547/0.5522, allocations: 156 kB / 1.229 GB, free: 2.371 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 (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.0003389/0.5525, allocations: 180.4 kB / 1.229 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003244/0.5558, allocations: 1.025 MB / 1.23 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5558, allocations: 0 / 1.23 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.5573, allocations: 309.5 kB / 1.23 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.558, allocations: 115 kB / 1.23 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.5599, allocations: 1.04 MB / 1.231 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.5603, allocations: 0.8113 MB / 1.232 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.5604, allocations: 35.42 kB / 1.232 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.5604, allocations: 0 / 1.232 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.01666/0.5771, allocations: 12.22 MB / 1.244 GB, free: 2.578 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/jenkins1/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