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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 189.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.813/3.813, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.61 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5332, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00624/0.5395, allocations: 3.027 MB / 1.319 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2326/0.772, allocations: 154 MB / 1.469 GB, free: 12.1 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004377/0.7725, allocations: 3.938 kB / 1.469 GB, free: 12.1 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.7729, allocations: 91.19 kB / 1.469 GB, free: 12.01 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.774, allocations: 290.1 kB / 1.47 GB, free: 11.72 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.777, allocations: 1.039 MB / 1.471 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.7781, allocations: 0.7913 MB / 1.472 GB, free: 9.902 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.7783, allocations: 62.2 kB / 1.472 GB, free: 9.836 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.7787, allocations: 331 kB / 1.472 GB, free: 9.512 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.7793, allocations: 338.8 kB / 1.472 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.7794, allocations: 60 kB / 1.472 GB, free: 9.121 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.7811, allocations: 0.8303 MB / 1.473 GB, free: 8.289 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.7813, allocations: 155.5 kB / 1.473 GB, free: 8.137 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.7816, allocations: 282.8 kB / 1.474 GB, free: 7.859 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.7831, allocations: 0.981 MB / 1.474 GB, free: 6.875 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7831, allocations: 0 / 1.474 GB, free: 6.875 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7831, allocations: 0 / 1.474 GB, free: 6.875 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7832, allocations: 4 kB / 1.474 GB, free: 6.871 MB / 1.17 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.002969/0.7861, allocations: 1.041 MB / 1.475 GB, free: 5.781 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.7862, allocations: 12.03 kB / 1.475 GB, free: 5.77 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.7887, allocations: 272.1 kB / 1.476 GB, free: 5.504 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.7896, allocations: 347.2 kB / 1.476 GB, free: 5.141 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.7897, allocations: 95.61 kB / 1.476 GB, free: 5.035 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7898, allocations: 43.95 kB / 1.476 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.7907, allocations: 368.2 kB / 1.477 GB, free: 4.609 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7907, allocations: 3.938 kB / 1.477 GB, free: 4.605 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.7908, allocations: 15.98 kB / 1.477 GB, free: 4.59 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.7908, allocations: 7.938 kB / 1.477 GB, free: 4.582 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.7915, allocations: 257.4 kB / 1.477 GB, free: 4.328 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.7962, allocations: 1.645 MB / 1.478 GB, free: 2.625 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.797, allocations: 231.4 kB / 1.479 GB, free: 2.391 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.7975, allocations: 144.8 kB / 1.479 GB, free: 2.246 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.7975, allocations: 4 kB / 1.479 GB, free: 2.242 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007532/0.7983, allocations: 300.8 kB / 1.479 GB, free: 1.93 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.7983, allocations: 3.938 kB / 1.479 GB, free: 1.926 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.008453/0.8067, allocations: 1.355 MB / 1.48 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.8068, allocations: 85.09 kB / 1.481 GB, free: 468 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.8075, allocations: 449.8 kB / 1.481 GB, free: 4 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.8076, allocations: 37.7 kB / 1.481 GB, free: 15.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.8079, allocations: 209.1 kB / 1.481 GB, free: 15.75 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.808, allocations: 103.2 kB / 1.481 GB, free: 15.65 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.8083, allocations: 162.2 kB / 1.481 GB, free: 15.49 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.8085, allocations: 350.8 kB / 1.482 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007988/0.8093, allocations: 277.1 kB / 1.482 GB, free: 14.87 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/0.8103, allocations: 421.8 kB / 1.482 GB, free: 14.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/0.8183, allocations: 1.862 MB / 1.484 GB, free: 12.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8183, allocations: 0 / 1.484 GB, free: 12.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007803/0.8261, allocations: 1.561 MB / 1.486 GB, free: 10.91 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.8262, allocations: 63.39 kB / 1.486 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8262, allocations: 0 / 1.486 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.828, allocations: 407.1 kB / 1.486 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.8286, allocations: 87.86 kB / 1.486 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007293/0.8359, allocations: 4.476 MB / 1.491 GB, free: 5.578 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.837, allocations: 107.4 kB / 1.491 GB, free: 5.473 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.8372, allocations: 35.97 kB / 1.491 GB, free: 5.438 MB / 1.186 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.0004298/0.8376, allocations: 173.7 kB / 1.491 GB, free: 5.258 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.8378, allocations: 47.67 kB / 1.491 GB, free: 5.211 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.8379, allocations: 39.52 kB / 1.491 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.8379, allocations: 4 kB / 1.491 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.8379, allocations: 3.938 kB / 1.491 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8379, allocations: 8 kB / 1.491 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.8387, allocations: 448.2 kB / 1.491 GB, free: 4.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8387, allocations: 3.938 kB / 1.491 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.8389, allocations: 23.98 kB / 1.492 GB, free: 4.652 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006827/0.8396, allocations: 225.5 kB / 1.492 GB, free: 4.426 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.8396, allocations: 11.98 kB / 1.492 GB, free: 4.414 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.8419, allocations: 1.496 MB / 1.493 GB, free: 2.871 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8419, allocations: 0 / 1.493 GB, free: 2.871 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006588/0.8485, allocations: 1.281 MB / 1.494 GB, free: 1.562 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.8487, allocations: 87.58 kB / 1.495 GB, free: 1.477 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8488, allocations: 7.984 kB / 1.495 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.8494, allocations: 43.95 kB / 1.495 GB, free: 1.426 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8495, allocations: 39.94 kB / 1.495 GB, free: 1.387 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.8496, allocations: 11.98 kB / 1.495 GB, free: 1.375 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005436/0.8501, allocations: 303.1 kB / 1.495 GB, free: 1.078 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8501, allocations: 0 / 1.495 GB, free: 1.078 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009105/0.851, allocations: 163.8 kB / 1.495 GB, free: 0.918 MB / 1.186 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.0005319/0.8516, allocations: 175.7 kB / 1.495 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.8553, allocations: 1.002 MB / 1.496 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8553, allocations: 3.938 kB / 1.496 GB, free: 15.67 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.8569, allocations: 317.4 kB / 1.497 GB, free: 15.36 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.8576, allocations: 117 kB / 1.497 GB, free: 15.25 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.86, allocations: 0.9126 MB / 1.498 GB, free: 14.31 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.8607, allocations: 0.8074 MB / 1.498 GB, free: 13.48 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003901/0.8611, allocations: 55.34 kB / 1.498 GB, free: 13.42 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.8612, allocations: 43.34 kB / 1.498 GB, free: 13.38 MB / 1.201 GB Notification: Performance of SimCode: time 1.613e-06/0.8612, allocations: 0 / 1.498 GB, free: 13.38 MB / 1.201 GB Notification: Performance of Templates: time 0.02778/0.889, allocations: 12.68 MB / 1.511 GB, free: 0.8008 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.461624617688358]