Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 79.73 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 157.6 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.885/2.885, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 63.89 kB / 0.982 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003676/1.167, allocations: 2.816 MB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2032/1.37, allocations: 134.9 MB / 1.288 GB, free: 4.52 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/1.37, allocations: 2.781 kB / 1.288 GB, free: 4.52 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00041/1.371, allocations: 81.05 kB / 1.289 GB, free: 4.473 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/1.372, allocations: 282.8 kB / 1.289 GB, free: 4.301 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/1.375, allocations: 1.022 MB / 1.29 GB, free: 3.793 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001201/1.376, allocations: 0.7891 MB / 1.291 GB, free: 3.422 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/1.376, allocations: 63.86 kB / 1.291 GB, free: 3.379 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005527/1.377, allocations: 328.8 kB / 1.291 GB, free: 3.25 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006849/1.378, allocations: 306.5 kB / 1.291 GB, free: 3.133 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/1.378, allocations: 64.25 kB / 1.291 GB, free: 3.129 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/1.38, allocations: 0.732 MB / 1.292 GB, free: 2.902 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/1.38, allocations: 151.2 kB / 1.292 GB, free: 2.812 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/1.38, allocations: 252 kB / 1.292 GB, free: 2.684 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/1.382, allocations: 0.9731 MB / 1.293 GB, free: 2.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.382, allocations: 0 / 1.293 GB, free: 2.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.783e-06/1.382, allocations: 0 / 1.293 GB, free: 2.34 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.382, allocations: 1.812 kB / 1.293 GB, free: 2.34 MB / 1.139 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.003145/1.385, allocations: 1.06 MB / 1.294 GB, free: 1.668 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.385, allocations: 9.594 kB / 1.294 GB, free: 1.668 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/1.389, allocations: 328.1 kB / 1.295 GB, free: 1.621 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/1.389, allocations: 352.4 kB / 1.295 GB, free: 1.371 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/1.39, allocations: 94.2 kB / 1.295 GB, free: 1.293 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/1.39, allocations: 40.48 kB / 1.295 GB, free: 1.281 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/1.391, allocations: 367.2 kB / 1.296 GB, free: 1.121 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.391, allocations: 5.406 kB / 1.296 GB, free: 1.117 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/1.391, allocations: 8.109 kB / 1.296 GB, free: 1.113 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.391, allocations: 5.531 kB / 1.296 GB, free: 1.113 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/1.392, allocations: 264.4 kB / 1.296 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/1.396, allocations: 1.457 MB / 1.297 GB, free: 56 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/1.397, allocations: 237.1 kB / 1.297 GB, free: 15.92 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/1.398, allocations: 148.8 kB / 1.298 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/1.398, allocations: 2.875 kB / 1.298 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007938/1.399, allocations: 309.5 kB / 1.298 GB, free: 15.63 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/1.399, allocations: 0 / 1.298 GB, free: 15.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.00885/1.408, allocations: 1.365 MB / 1.299 GB, free: 14.96 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/1.408, allocations: 86.52 kB / 1.299 GB, free: 14.87 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/1.408, allocations: 427.9 kB / 1.3 GB, free: 14.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/1.408, allocations: 38.36 kB / 1.3 GB, free: 14.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/1.409, allocations: 211.7 kB / 1.3 GB, free: 14.36 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.409, allocations: 99.05 kB / 1.3 GB, free: 14.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/1.409, allocations: 154.9 kB / 1.3 GB, free: 14.18 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.409, allocations: 352.8 kB / 1.301 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009193/1.41, allocations: 330.8 kB / 1.301 GB, free: 13.64 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.411, allocations: 0.6731 MB / 1.302 GB, free: 13.06 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008272/1.42, allocations: 1.863 MB / 1.303 GB, free: 12.01 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.42, allocations: 0 / 1.303 GB, free: 12.01 MB / 1.154 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008439/1.428, allocations: 1.65 MB / 1.305 GB, free: 11.1 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/1.428, allocations: 62.5 kB / 1.305 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.428, allocations: 6.5 kB / 1.305 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/1.43, allocations: 398.8 kB / 1.305 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/1.431, allocations: 94.39 kB / 1.305 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/1.437, allocations: 4.429 MB / 1.31 GB, free: 6.609 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/1.438, allocations: 94.19 kB / 1.31 GB, free: 6.555 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.438, allocations: 42.2 kB / 1.31 GB, free: 6.535 MB / 1.154 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.0003598/1.439, allocations: 173.4 kB / 1.31 GB, free: 6.383 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/1.439, allocations: 42.22 kB / 1.31 GB, free: 6.359 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.174e-05/1.439, allocations: 46.36 kB / 1.31 GB, free: 6.316 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.439, allocations: 8.438 kB / 1.31 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.439, allocations: 0 / 1.31 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.439, allocations: 1.094 kB / 1.31 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/1.439, allocations: 353.6 kB / 1.311 GB, free: 6.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.439, allocations: 0 / 1.311 GB, free: 6.039 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/1.439, allocations: 33.34 kB / 1.311 GB, free: 6.023 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006426/1.44, allocations: 226.8 kB / 1.311 GB, free: 5.902 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/1.44, allocations: 11.61 kB / 1.311 GB, free: 5.895 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/1.442, allocations: 1.493 MB / 1.312 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.442, allocations: 3.984 kB / 1.312 GB, free: 4.535 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006692/1.449, allocations: 1.303 MB / 1.314 GB, free: 3.844 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/1.449, allocations: 84.03 kB / 1.314 GB, free: 3.777 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/1.449, allocations: 11.39 kB / 1.314 GB, free: 3.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/1.45, allocations: 41.95 kB / 1.314 GB, free: 3.75 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.45, allocations: 37.22 kB / 1.314 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/1.45, allocations: 15.73 kB / 1.314 GB, free: 3.719 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000414/1.45, allocations: 281.5 kB / 1.314 GB, free: 3.547 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.45, allocations: 0 / 1.314 GB, free: 3.547 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008877/1.451, allocations: 166.4 kB / 1.314 GB, free: 3.516 MB / 1.154 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.000395/1.452, allocations: 175.4 kB / 1.314 GB, free: 3.391 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00349/1.455, allocations: 1.067 MB / 1.315 GB, free: 2.598 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.455, allocations: 0 / 1.315 GB, free: 2.598 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/1.457, allocations: 321.4 kB / 1.316 GB, free: 2.277 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/1.457, allocations: 110.1 kB / 1.316 GB, free: 2.176 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/1.459, allocations: 0.9002 MB / 1.317 GB, free: 1.262 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/1.459, allocations: 203.7 kB / 1.317 GB, free: 1.039 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002514/1.46, allocations: 55.2 kB / 1.317 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.46, allocations: 48.41 kB / 1.317 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of SimCode: time 8.91e-07/1.46, allocations: 0 / 1.317 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of Templates: time 0.02412/1.484, allocations: 13.31 MB / 1.33 GB, free: 3.77 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.51582548103761]