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.001609/0.001609, allocations: 108 kB / 15.6 MB, free: 132 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.001848/0.001848, allocations: 192 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 69.84 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4009, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004604/0.4055, allocations: 2.992 MB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.582, allocations: 153.4 MB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.5825, allocations: 4 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.583, allocations: 87.2 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.584, allocations: 282.1 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.5867, allocations: 1.014 MB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.588, allocations: 0.7798 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.5882, allocations: 90.05 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.5888, allocations: 323 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.5893, allocations: 330.8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.5894, allocations: 60 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.5912, allocations: 0.7836 MB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.5914, allocations: 155.5 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.5916, allocations: 290.6 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.5928, allocations: 0.966 MB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5928, allocations: 4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.584e-06/0.5928, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.5929, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 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.002626/0.5955, allocations: 1.053 MB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.5956, allocations: 12.03 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.598, allocations: 267.8 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.5986, allocations: 396.8 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.5987, allocations: 99.83 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5989, allocations: 40 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.5996, allocations: 364.2 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.5996, allocations: 4 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.5997, allocations: 19.98 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5997, allocations: 4 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.6004, allocations: 257.4 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.6047, allocations: 1.677 MB / 1.23 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.6055, allocations: 252.3 kB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.606, allocations: 168.8 kB / 1.23 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.6061, allocations: 4.438 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/0.6068, allocations: 305.7 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.6068, allocations: 0 / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008077/0.6149, allocations: 1.489 MB / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.615, allocations: 89.11 kB / 1.232 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.6156, allocations: 453.7 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.6157, allocations: 41.7 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.6158, allocations: 204.8 kB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.861e-05/0.6159, allocations: 90.7 kB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.6162, allocations: 158.2 kB / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6164, allocations: 358.8 kB / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/0.6171, allocations: 269.2 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/0.6181, allocations: 421.7 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007492/0.6256, allocations: 1.865 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.6256, allocations: 3.938 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007256/0.6328, allocations: 1.584 MB / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/0.6329, allocations: 63.39 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6329, allocations: 0 / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.6347, allocations: 391.1 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.6352, allocations: 99.8 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.6409, allocations: 4.681 MB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.642, allocations: 99.23 kB / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.6421, allocations: 39.95 kB / 1.243 GB, free: 6.195 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.000322/0.6424, allocations: 170.7 kB / 1.243 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.6425, allocations: 39.44 kB / 1.243 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.6426, allocations: 47.58 kB / 1.243 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6426, allocations: 4 kB / 1.243 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6426, allocations: 7.938 kB / 1.243 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6426, allocations: 0 / 1.243 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.6431, allocations: 485 kB / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6431, allocations: 0 / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.6433, allocations: 23.92 kB / 1.244 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005963/0.6439, allocations: 237.5 kB / 1.244 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.644, allocations: 11.98 kB / 1.244 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.6457, allocations: 1.495 MB / 1.245 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6457, allocations: 0 / 1.245 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006001/0.6517, allocations: 1.291 MB / 1.247 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.652, allocations: 156.5 kB / 1.247 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6521, allocations: 8 kB / 1.247 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.6526, allocations: 35.95 kB / 1.247 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.6527, allocations: 43.89 kB / 1.247 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.6528, allocations: 15.97 kB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003907/0.6532, allocations: 303.1 kB / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6532, allocations: 0 / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007968/0.654, allocations: 167.8 kB / 1.247 GB, free: 1.531 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.0004186/0.6544, allocations: 168.2 kB / 1.247 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003355/0.6578, allocations: 1.042 MB / 1.248 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6578, allocations: 11.94 kB / 1.248 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.5594/1.217, allocations: 327 kB / 1.249 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008616/1.218, allocations: 107.5 kB / 1.249 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/1.22, allocations: 0.8984 MB / 1.25 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/1.22, allocations: 0.8076 MB / 1.25 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003647/1.221, allocations: 61 kB / 1.251 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/1.221, allocations: 38.33 kB / 1.251 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.221, allocations: 0 / 1.251 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02332/1.244, allocations: 12.26 MB / 1.263 GB, free: 183.2 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