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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001259/0.001259, allocations: 104.5 kB / 15.99 MB, free: 5.891 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.001201/0.001201, allocations: 189.4 kB / 16.91 MB, free: 5.746 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 482.4 MB / 0.755 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.98 kB / 0.924 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3665, allocations: 162.2 MB / 1.082 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004863/0.3714, allocations: 3.025 MB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2024/0.5738, allocations: 151.2 MB / 1.233 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.5744, allocations: 4 kB / 1.233 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.575, allocations: 71.44 kB / 1.233 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.5763, allocations: 238.5 kB / 1.233 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.5796, allocations: 0.9472 MB / 1.234 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.5814, allocations: 0.7914 MB / 1.235 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.5818, allocations: 92.02 kB / 1.235 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.5827, allocations: 315 kB / 1.235 GB, free: 288 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.5837, allocations: 342.8 kB / 1.236 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.584, allocations: 60 kB / 1.236 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.5864, allocations: 0.8264 MB / 1.237 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.5867, allocations: 159.5 kB / 1.237 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.5872, allocations: 290.8 kB / 1.237 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.5887, allocations: 0.7015 MB / 1.238 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5887, allocations: 4 kB / 1.238 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5887, allocations: 0 / 1.238 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.757e-05/0.5888, allocations: 4 kB / 1.238 GB, free: 13.91 MB / 0.9981 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.003666/0.5925, allocations: 1.044 MB / 1.239 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5925, allocations: 8.031 kB / 1.239 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.5953, allocations: 279.7 kB / 1.239 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/0.5962, allocations: 396.8 kB / 1.239 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.5964, allocations: 103.8 kB / 1.24 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.5965, allocations: 32 kB / 1.24 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000975/0.5975, allocations: 380.2 kB / 1.24 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5975, allocations: 0 / 1.24 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.5976, allocations: 8 kB / 1.24 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5976, allocations: 8 kB / 1.24 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.5984, allocations: 257.4 kB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005239/0.6037, allocations: 1.685 MB / 1.242 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.6045, allocations: 254.5 kB / 1.242 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.6051, allocations: 160.8 kB / 1.242 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.6051, allocations: 7.938 kB / 1.242 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008014/0.6059, allocations: 301.8 kB / 1.243 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 3.206e-06/0.6059, allocations: 4 kB / 1.243 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.009121/0.6151, allocations: 1.498 MB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.6152, allocations: 81.11 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/0.6159, allocations: 461.6 kB / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.6161, allocations: 41.7 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.6164, allocations: 204.8 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.6165, allocations: 94.7 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.6169, allocations: 154.2 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.6171, allocations: 354.8 kB / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.618, allocations: 273.1 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.619, allocations: 421.8 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00816/0.6271, allocations: 1.861 MB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.6272, allocations: 0 / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008061/0.6353, allocations: 1.576 MB / 1.249 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.6354, allocations: 63.41 kB / 1.249 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.6354, allocations: 4 kB / 1.249 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.6374, allocations: 391.1 kB / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.6381, allocations: 91.81 kB / 1.25 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6547/1.293, allocations: 4.68 MB / 1.254 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.294, allocations: 96.56 kB / 1.255 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.294, allocations: 36.92 kB / 1.255 GB, free: 170.3 MB / 0.9981 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.0003257/1.295, allocations: 179 kB / 1.255 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.295, allocations: 47.16 kB / 1.255 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-05/1.295, allocations: 41.02 kB / 1.255 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.295, allocations: 3.156 kB / 1.255 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.295, allocations: 0.8438 kB / 1.255 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.295, allocations: 2.641 kB / 1.255 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/1.295, allocations: 481.6 kB / 1.255 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.295, allocations: 4.5 kB / 1.255 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.296, allocations: 29.28 kB / 1.255 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006947/1.296, allocations: 233.4 kB / 1.256 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/1.296, allocations: 12.33 kB / 1.256 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/1.298, allocations: 1.491 MB / 1.257 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.298, allocations: 0.6094 kB / 1.257 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/1.305, allocations: 1.292 MB / 1.258 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/1.305, allocations: 162.2 kB / 1.258 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/1.305, allocations: 12.47 kB / 1.258 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/1.306, allocations: 36.92 kB / 1.258 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.306, allocations: 37.84 kB / 1.259 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/1.306, allocations: 17.09 kB / 1.259 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000451/1.307, allocations: 301.2 kB / 1.259 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.307, allocations: 0 / 1.259 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008191/1.308, allocations: 155.8 kB / 1.259 GB, free: 168.2 MB / 0.9981 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.0003862/1.308, allocations: 177.1 kB / 1.259 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003529/1.311, allocations: 1.047 MB / 1.26 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.311, allocations: 0.6875 kB / 1.26 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.313, allocations: 331.4 kB / 1.26 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/1.314, allocations: 112.4 kB / 1.261 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/1.316, allocations: 1.049 MB / 1.262 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.316, allocations: 0.806 MB / 1.262 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/1.317, allocations: 39.41 kB / 1.262 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.317, allocations: 0 / 1.262 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02212/1.339, allocations: 12.18 MB / 1.274 GB, free: 165.1 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=400 -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