Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000796/0.000796, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008374/0.0008374, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9035/0.9035, allocations: 177.1 MB / 203.5 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.645/1.645, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.777e-06/3.777e-06, allocations: 4 kB / 0.9518 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.418e-05, allocations: 9.172 kB / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003335/0.003379, allocations: 2.809 MB / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6059/0.6093, allocations: 135 MB / 1.086 GB, free: 40.06 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.6095, allocations: 3.062 kB / 1.086 GB, free: 40.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.6098, allocations: 89.02 kB / 1.086 GB, free: 40.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.6104, allocations: 299.6 kB / 1.087 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.6117, allocations: 1.03 MB / 1.088 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.6123, allocations: 0.7977 MB / 1.088 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.6124, allocations: 59.44 kB / 1.089 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.6128, allocations: 452.7 kB / 1.089 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.6131, allocations: 274.9 kB / 1.089 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.6132, allocations: 59.38 kB / 1.089 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008539/0.614, allocations: 0.7373 MB / 1.09 GB, free: 39.78 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.6141, allocations: 159.6 kB / 1.09 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.6143, allocations: 214.8 kB / 1.09 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008729/0.6151, allocations: 1.083 MB / 1.091 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6151, allocations: 1.5 kB / 1.091 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6151, allocations: 0 / 1.091 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.6151, allocations: 0 / 1.091 GB, free: 39.64 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.001466/0.6166, allocations: 1.041 MB / 1.092 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6167, allocations: 8.656 kB / 1.092 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.6181, allocations: 322.2 kB / 1.093 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.6186, allocations: 356 kB / 1.093 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.6186, allocations: 93.11 kB / 1.093 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.6187, allocations: 43.11 kB / 1.093 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.6192, allocations: 363.2 kB / 1.094 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.6192, allocations: 6.562 kB / 1.094 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.6192, allocations: 12.58 kB / 1.094 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6192, allocations: 5.25 kB / 1.094 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.6196, allocations: 254.1 kB / 1.094 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.6217, allocations: 1.46 MB / 1.095 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.6221, allocations: 233.9 kB / 1.095 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.6223, allocations: 145.3 kB / 1.096 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6224, allocations: 4.375 kB / 1.096 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.6228, allocations: 304.9 kB / 1.096 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.6228, allocations: 2.812 kB / 1.096 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.004135/0.6269, allocations: 1.365 MB / 1.097 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.627, allocations: 82.08 kB / 1.097 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.6274, allocations: 438.5 kB / 1.098 GB, free: 37.28 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.6275, allocations: 40.06 kB / 1.098 GB, free: 37.24 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.6276, allocations: 207.8 kB / 1.098 GB, free: 37.07 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.6277, allocations: 102.6 kB / 1.098 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.628, allocations: 155.7 kB / 1.098 GB, free: 36.93 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.628, allocations: 350.5 kB / 1.099 GB, free: 36.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.6287, allocations: 334.5 kB / 1.099 GB, free: 36.44 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.6295, allocations: 0.6684 MB / 1.1 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.6336, allocations: 1.855 MB / 1.101 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6336, allocations: 1.031 kB / 1.101 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0039/0.6375, allocations: 1.659 MB / 1.103 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.6376, allocations: 69.03 kB / 1.103 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6376, allocations: 2.562 kB / 1.103 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008912/0.6385, allocations: 389.3 kB / 1.103 GB, free: 34.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.6387, allocations: 90.25 kB / 1.104 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.6415, allocations: 4.414 MB / 1.108 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.6419, allocations: 101.8 kB / 1.108 GB, free: 30.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.642, allocations: 36.23 kB / 1.108 GB, free: 30.5 MB / 0.9948 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.0001779/0.6422, allocations: 174.8 kB / 1.108 GB, free: 30.34 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.6422, allocations: 50.8 kB / 1.108 GB, free: 30.31 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.6423, allocations: 39.7 kB / 1.108 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6423, allocations: 4.266 kB / 1.108 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6423, allocations: 1.219 kB / 1.108 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6423, allocations: 4 kB / 1.108 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.6426, allocations: 353.3 kB / 1.109 GB, free: 30.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6426, allocations: 0 / 1.109 GB, free: 30.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.6427, allocations: 29.2 kB / 1.109 GB, free: 30.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.643, allocations: 226.9 kB / 1.109 GB, free: 29.99 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.643, allocations: 17.89 kB / 1.109 GB, free: 29.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.6438, allocations: 1.492 MB / 1.11 GB, free: 28.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6438, allocations: 1.672 kB / 1.11 GB, free: 28.69 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.6469, allocations: 1.297 MB / 1.112 GB, free: 28.32 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.6471, allocations: 83.52 kB / 1.112 GB, free: 28.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.6471, allocations: 8.156 kB / 1.112 GB, free: 28.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6473, allocations: 41.69 kB / 1.112 GB, free: 28.26 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.6474, allocations: 42.52 kB / 1.112 GB, free: 28.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.6474, allocations: 13.62 kB / 1.112 GB, free: 28.25 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002095/0.6476, allocations: 288.4 kB / 1.112 GB, free: 28.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6476, allocations: 0 / 1.112 GB, free: 28.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004006/0.648, allocations: 165.2 kB / 1.112 GB, free: 28.07 MB / 0.9948 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.0002515/0.6483, allocations: 181 kB / 1.112 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.6499, allocations: 1.075 MB / 1.113 GB, free: 27.33 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6499, allocations: 5.344 kB / 1.113 GB, free: 27.33 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.6506, allocations: 312.1 kB / 1.114 GB, free: 27.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.6509, allocations: 95.39 kB / 1.114 GB, free: 27.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009937/0.6519, allocations: 0.8688 MB / 1.115 GB, free: 26.66 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.6521, allocations: 214 kB / 1.115 GB, free: 26.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.6522, allocations: 40.22 kB / 1.115 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of SimCode: time 4.8e-07/0.6522, allocations: 0 / 1.115 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of Templates: time 0.01274/0.6649, allocations: 12.36 MB / 1.127 GB, free: 25.49 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.54773594532162]