Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.0008421/0.0008421, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008801/0.0008801, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.753/1.753, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.088e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001654/0.001675, allocations: 1.332 MB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5964/0.5981, allocations: 129.9 MB / 1.128 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.5981, allocations: 3.875 kB / 1.128 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.666e-05/0.5982, allocations: 1.453 kB / 1.128 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.5985, allocations: 38.98 kB / 1.128 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.5996, allocations: 363.9 kB / 1.128 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.5997, allocations: 72.05 kB / 1.128 GB, free: 2.543 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.5998, allocations: 5.859 kB / 1.128 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.5998, allocations: 37.91 kB / 1.128 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.6, allocations: 57.06 kB / 1.128 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.6, allocations: 2.219 kB / 1.128 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.6005, allocations: 371.9 kB / 1.129 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.6006, allocations: 31.36 kB / 1.129 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.6006, allocations: 19.45 kB / 1.129 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.601, allocations: 293.5 kB / 1.129 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.601, allocations: 1.188 kB / 1.129 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.601, allocations: 0 / 1.129 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.601, allocations: 0 / 1.129 GB, free: 2.297 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003181/0.6013, allocations: 330.7 kB / 1.129 GB, free: 1.988 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.6014, allocations: 10.61 kB / 1.129 GB, free: 1.988 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.6014, allocations: 42.47 kB / 1.129 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.6014, allocations: 6.297 kB / 1.129 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.067e-05/0.6015, allocations: 112.8 kB / 1.13 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.6015, allocations: 5.062 kB / 1.13 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.6015, allocations: 6.438 kB / 1.13 GB, free: 1.801 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.6016, allocations: 88.94 kB / 1.13 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6017, allocations: 0.7031 kB / 1.13 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.6017, allocations: 1 kB / 1.13 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.6017, allocations: 14.84 kB / 1.13 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.6018, allocations: 79.94 kB / 1.13 GB, free: 1.738 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.6021, allocations: 314 kB / 1.13 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.6022, allocations: 94.39 kB / 1.13 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/0.6023, allocations: 53.38 kB / 1.13 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.6028, allocations: 92.06 kB / 1.13 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.6028, allocations: 36.48 kB / 1.13 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.6028, allocations: 0 / 1.13 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0002178/0.603, allocations: 121.2 kB / 1.13 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.603, allocations: 58.45 kB / 1.13 GB, free: 1.234 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.6031, allocations: 113.7 kB / 1.131 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.6031, allocations: 27.14 kB / 1.131 GB, free: 1.098 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.6031, allocations: 104.9 kB / 1.131 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.6031, allocations: 34.78 kB / 1.131 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.6032, allocations: 35.44 kB / 1.131 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.977e-05/0.6032, allocations: 319.2 kB / 1.131 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.6032, allocations: 29.28 kB / 1.131 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.6033, allocations: 79.77 kB / 1.131 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.594e-05/0.6034, allocations: 113.9 kB / 1.131 GB, free: 496 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6034, allocations: 5.094 kB / 1.131 GB, free: 492 kB / 0.9948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001416/0.6035, allocations: 130 kB / 1.131 GB, free: 436 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6035, allocations: 6.906 kB / 1.131 GB, free: 436 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6036, allocations: 2.906 kB / 1.131 GB, free: 436 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6036, allocations: 2.188 kB / 1.131 GB, free: 436 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.6036, allocations: 36.06 kB / 1.131 GB, free: 424 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6036, allocations: 4.094 kB / 1.131 GB, free: 424 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.6037, allocations: 11.11 kB / 1.132 GB, free: 416 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.6037, allocations: 9.844 kB / 1.132 GB, free: 412 kB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.6037, allocations: 123.5 kB / 1.132 GB, free: 288 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.6038, allocations: 7.141 kB / 1.132 GB, free: 284 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.6039, allocations: 124.9 kB / 1.132 GB, free: 224 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6039, allocations: 1.188 kB / 1.132 GB, free: 224 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6039, allocations: 3.938 kB / 1.132 GB, free: 220 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6039, allocations: 2.562 kB / 1.132 GB, free: 220 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.604, allocations: 155.5 kB / 1.132 GB, free: 44 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.604, allocations: 4 kB / 1.132 GB, free: 40 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.6041, allocations: 18.55 kB / 1.132 GB, free: 40 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6041, allocations: 0 / 1.132 GB, free: 40 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.6041, allocations: 6.578 kB / 1.132 GB, free: 36 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6041, allocations: 1.25 kB / 1.132 GB, free: 36 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6041, allocations: 3.938 kB / 1.132 GB, free: 32 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.6042, allocations: 199.5 kB / 1.132 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.6043, allocations: 17.28 kB / 1.132 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.6043, allocations: 5.125 kB / 1.132 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.6043, allocations: 4.25 kB / 1.132 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.6043, allocations: 10.31 kB / 1.132 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6043, allocations: 6.438 kB / 1.132 GB, free: 15.86 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.6044, allocations: 90.83 kB / 1.132 GB, free: 15.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6044, allocations: 0 / 1.132 GB, free: 15.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000238/0.6046, allocations: 81.05 kB / 1.132 GB, free: 15.76 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000532/0.6051, allocations: 0.8264 MB / 1.133 GB, free: 15.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.6053, allocations: 79.78 kB / 1.133 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6053, allocations: 0 / 1.133 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.6053, allocations: 36.16 kB / 1.133 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.6055, allocations: 25.44 kB / 1.133 GB, free: 15 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.6059, allocations: 238 kB / 1.134 GB, free: 14.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.035e-05/0.606, allocations: 74.62 kB / 1.134 GB, free: 14.75 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.656e-05/0.6061, allocations: 52.83 kB / 1.134 GB, free: 14.75 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.6061, allocations: 25.03 kB / 1.134 GB, free: 14.73 MB / 1.01 GB Notification: Performance of SimCode: time 4.81e-07/0.6061, allocations: 0 / 1.134 GB, free: 14.73 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.6345, allocations: 3.918 MB / 1.137 GB, free: 13.72 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.507, allocations: 11.48 kB / 1.137 GB, free: 13.71 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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: 12.662206299602985]