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.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.001917/0.001917, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002062/0.002062, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.449/3.449, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.523e-06/1.523e-06, allocations: 0.6562 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.257e-05, allocations: 4.844 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005638/0.005671, allocations: 2.995 MB / 0.8804 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2309/0.2366, allocations: 149.1 MB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.237, allocations: 7.938 kB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.2374, allocations: 99.08 kB / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.2386, allocations: 289.8 kB / 1.026 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.2419, allocations: 1.016 MB / 1.027 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.2437, allocations: 0.8145 MB / 1.028 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.2439, allocations: 66.28 kB / 1.028 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.2448, allocations: 459.1 kB / 1.029 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.2455, allocations: 275.3 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.2456, allocations: 60 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.2475, allocations: 0.7441 MB / 1.03 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.2478, allocations: 151.5 kB / 1.03 GB, free: 9.992 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.2482, allocations: 223.5 kB / 1.03 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.2502, allocations: 1.087 MB / 1.031 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2502, allocations: 0 / 1.031 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2502, allocations: 0 / 1.031 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.629e-05/0.2503, allocations: 4 kB / 1.031 GB, free: 8.68 MB / 0.9948 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.00339/0.2537, allocations: 1.16 MB / 1.032 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2537, allocations: 12.03 kB / 1.032 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.2569, allocations: 339.9 kB / 1.033 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.2577, allocations: 358.1 kB / 1.033 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.2578, allocations: 91.91 kB / 1.033 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.258, allocations: 43.98 kB / 1.033 GB, free: 6.594 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009087/0.2589, allocations: 371.3 kB / 1.033 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2589, allocations: 0 / 1.033 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.259, allocations: 15.97 kB / 1.034 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.259, allocations: 8 kB / 1.034 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.2597, allocations: 217.8 kB / 1.034 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005375/0.265, allocations: 1.731 MB / 1.035 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.2658, allocations: 211.1 kB / 1.036 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.2663, allocations: 139.6 kB / 1.036 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.2663, allocations: 4 kB / 1.036 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008427/0.2671, allocations: 293.4 kB / 1.036 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 3.416e-06/0.2672, allocations: 0 / 1.036 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.008455/0.2756, allocations: 1.263 MB / 1.037 GB, free: 2.234 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.2757, allocations: 81.11 kB / 1.037 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.2765, allocations: 0.5337 MB / 1.038 GB, free: 1.586 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.2767, allocations: 41.7 kB / 1.038 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.277, allocations: 264.4 kB / 1.038 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.2771, allocations: 111.2 kB / 1.038 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.2775, allocations: 179.9 kB / 1.038 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003381/0.2778, allocations: 0.5391 MB / 1.039 GB, free: 444 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008557/0.2787, allocations: 308.6 kB / 1.039 GB, free: 124 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.2799, allocations: 0.6499 MB / 1.04 GB, free: 15.37 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.282, allocations: 0.8487 MB / 1.041 GB, free: 14.46 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.2821, allocations: 0 / 1.041 GB, free: 14.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008194/0.2902, allocations: 1.59 MB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/0.2903, allocations: 63.39 kB / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2903, allocations: 4 kB / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.293, allocations: 486.4 kB / 1.043 GB, free: 12.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.2936, allocations: 91.81 kB / 1.043 GB, free: 12.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008306/0.3019, allocations: 6.103 MB / 1.049 GB, free: 5.754 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.303, allocations: 87.58 kB / 1.049 GB, free: 5.668 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.3032, allocations: 35.95 kB / 1.049 GB, free: 5.633 MB / 1.01 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.000503/0.3037, allocations: 220.4 kB / 1.049 GB, free: 5.406 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.3039, allocations: 55.66 kB / 1.049 GB, free: 5.352 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.304, allocations: 39.34 kB / 1.049 GB, free: 5.312 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3041, allocations: 4 kB / 1.049 GB, free: 5.309 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.3041, allocations: 3.984 kB / 1.049 GB, free: 5.305 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3041, allocations: 4 kB / 1.049 GB, free: 5.301 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.3049, allocations: 396.2 kB / 1.05 GB, free: 4.879 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3049, allocations: 8 kB / 1.05 GB, free: 4.871 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.305, allocations: 23.86 kB / 1.05 GB, free: 4.848 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006366/0.3057, allocations: 219.2 kB / 1.05 GB, free: 4.625 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.3057, allocations: 15.97 kB / 1.05 GB, free: 4.609 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.3082, allocations: 2.095 MB / 1.052 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3082, allocations: 0.625 kB / 1.052 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006383/0.3145, allocations: 1.222 MB / 1.053 GB, free: 1.199 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.3148, allocations: 87.61 kB / 1.053 GB, free: 1.113 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.315, allocations: 12 kB / 1.053 GB, free: 1.102 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.3154, allocations: 31.91 kB / 1.053 GB, free: 1.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.3156, allocations: 39.92 kB / 1.053 GB, free: 1.031 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.3157, allocations: 19.98 kB / 1.053 GB, free: 1.012 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005281/0.3162, allocations: 339 kB / 1.054 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.3162, allocations: 0 / 1.054 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008223/0.317, allocations: 171.8 kB / 1.054 GB, free: 0.5117 MB / 1.01 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.0005121/0.3175, allocations: 184.5 kB / 1.054 GB, free: 332 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.4036/0.7211, allocations: 1.181 MB / 1.055 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7211, allocations: 0 / 1.055 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.7224, allocations: 310 kB / 1.055 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.7232, allocations: 119.8 kB / 1.056 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.7248, allocations: 0.8554 MB / 1.056 GB, free: 219.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.7249, allocations: 210.1 kB / 1.057 GB, free: 219.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000294/0.7252, allocations: 56.53 kB / 1.057 GB, free: 219.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.7253, allocations: 39.72 kB / 1.057 GB, free: 219.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.653e-06/0.7253, allocations: 0 / 1.057 GB, free: 219.6 MB / 1.01 GB Notification: Performance of Templates: time 0.01907/0.7444, allocations: 13.5 MB / 1.07 GB, free: 218.4 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] 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: 10.224666566005908]