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.001604/0.001605, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001912/0.001912, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 74.27 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.381, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004648/0.3857, allocations: 3.016 MB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.9637/1.35, allocations: 153.4 MB / 1.179 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/1.35, allocations: 11.44 kB / 1.179 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003989/1.35, allocations: 93.11 kB / 1.18 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/1.352, allocations: 271.5 kB / 1.18 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/1.354, allocations: 1.009 MB / 1.181 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001158/1.356, allocations: 0.7832 MB / 1.182 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/1.356, allocations: 91.11 kB / 1.182 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/1.356, allocations: 321.6 kB / 1.182 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/1.357, allocations: 337.6 kB / 1.182 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.735e-05/1.357, allocations: 63.22 kB / 1.182 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/1.359, allocations: 0.7911 MB / 1.183 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/1.359, allocations: 146.6 kB / 1.183 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000445/1.359, allocations: 294.3 kB / 1.184 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/1.361, allocations: 0.9585 MB / 1.184 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.361, allocations: 0 / 1.184 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-05/1.361, allocations: 1.5 kB / 1.184 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.001e-05/1.361, allocations: 3.938 kB / 1.185 GB, free: 3.195 MB / 0.8887 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.002807/1.364, allocations: 1.054 MB / 1.186 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.364, allocations: 8.406 kB / 1.186 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/1.367, allocations: 265.8 kB / 1.186 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/1.367, allocations: 413.9 kB / 1.186 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.368, allocations: 92.33 kB / 1.186 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.368, allocations: 39.28 kB / 1.186 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/1.369, allocations: 369.7 kB / 1.187 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.369, allocations: 1.125 kB / 1.187 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/1.369, allocations: 14.11 kB / 1.187 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.369, allocations: 9.688 kB / 1.187 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/1.369, allocations: 255.7 kB / 1.187 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/1.374, allocations: 1.684 MB / 1.189 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/1.375, allocations: 247 kB / 1.189 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/1.375, allocations: 162.6 kB / 1.189 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/1.375, allocations: 6.609 kB / 1.189 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007131/1.376, allocations: 304.5 kB / 1.189 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/1.376, allocations: 0 / 1.189 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.008336/1.384, allocations: 1.505 MB / 1.191 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.384, allocations: 90.58 kB / 1.191 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/1.385, allocations: 452.8 kB / 1.191 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000159/1.385, allocations: 39.67 kB / 1.191 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/1.385, allocations: 205 kB / 1.191 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.386, allocations: 103.1 kB / 1.192 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/1.386, allocations: 158.9 kB / 1.192 GB, free: 14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.386, allocations: 352.1 kB / 1.192 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/1.387, allocations: 270.6 kB / 1.192 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/1.388, allocations: 418.3 kB / 1.193 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007669/1.395, allocations: 1.859 MB / 1.195 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.395, allocations: 3.938 kB / 1.195 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007148/1.403, allocations: 1.567 MB / 1.196 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/1.403, allocations: 61.88 kB / 1.196 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.403, allocations: 2.219 kB / 1.196 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/1.405, allocations: 400.8 kB / 1.197 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/1.405, allocations: 95.7 kB / 1.197 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005954/1.411, allocations: 4.671 MB / 1.201 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.412, allocations: 92.55 kB / 1.201 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/1.412, allocations: 46.36 kB / 1.201 GB, free: 6.488 MB / 0.9044 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.0003245/1.413, allocations: 182.6 kB / 1.201 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/1.413, allocations: 47.48 kB / 1.202 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/1.413, allocations: 39.17 kB / 1.202 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.413, allocations: 4.469 kB / 1.202 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.413, allocations: 4 kB / 1.202 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.413, allocations: 3.938 kB / 1.202 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/1.413, allocations: 470.5 kB / 1.202 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.413, allocations: 0 / 1.202 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/1.413, allocations: 30.03 kB / 1.202 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005939/1.414, allocations: 229.3 kB / 1.202 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/1.414, allocations: 12.86 kB / 1.202 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/1.416, allocations: 1.494 MB / 1.204 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.416, allocations: 7.875 kB / 1.204 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006019/1.422, allocations: 1.287 MB / 1.205 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/1.422, allocations: 158.5 kB / 1.205 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/1.422, allocations: 18.3 kB / 1.205 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/1.423, allocations: 40.14 kB / 1.205 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.423, allocations: 38.92 kB / 1.205 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/1.423, allocations: 18.14 kB / 1.205 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003889/1.423, allocations: 296.9 kB / 1.206 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.423, allocations: 0 / 1.206 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006733/1.424, allocations: 166.1 kB / 1.206 GB, free: 3.223 MB / 0.9044 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.0003578/1.424, allocations: 176.4 kB / 1.206 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003026/1.428, allocations: 1.041 MB / 1.207 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.428, allocations: 0 / 1.207 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/1.429, allocations: 328.5 kB / 1.207 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/1.43, allocations: 112.5 kB / 1.207 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/1.431, allocations: 0.8902 MB / 1.208 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/1.432, allocations: 0.8067 MB / 1.209 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002567/1.432, allocations: 50.94 kB / 1.209 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.432, allocations: 44.62 kB / 1.209 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/1.432, allocations: 0 / 1.209 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of Templates: time 0.02032/1.453, allocations: 12.27 MB / 1.221 GB, free: 5.691 MB / 0.92 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 -s cvode -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