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.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.001846/0.001846, allocations: 108.2 kB / 16.45 MB, free: 6.035 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.002065/0.002065, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 497.2 MB / 0.7811 GB, free: 33.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> 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 0.001965/0.001965, allocations: 74.67 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3587, allocations: 173.9 MB / 1.304 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002822/0.3615, allocations: 1.335 MB / 1.305 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1787/0.5402, allocations: 148.3 MB / 1.45 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.5403, allocations: 0 / 1.45 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.5403, allocations: 3.984 kB / 1.45 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.5405, allocations: 47.81 kB / 1.45 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.5419, allocations: 366.5 kB / 1.451 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.542, allocations: 63.81 kB / 1.451 GB, free: 10.78 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.542, allocations: 4 kB / 1.451 GB, free: 10.78 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.5421, allocations: 23.97 kB / 1.451 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.5422, allocations: 71.8 kB / 1.451 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.5422, allocations: 4 kB / 1.451 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008821/0.5431, allocations: 415.1 kB / 1.451 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.5432, allocations: 27.91 kB / 1.451 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.5433, allocations: 35.84 kB / 1.451 GB, free: 10.21 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.5438, allocations: 271.5 kB / 1.451 GB, free: 9.945 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5438, allocations: 3.984 kB / 1.451 GB, free: 9.941 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5438, allocations: 0 / 1.451 GB, free: 9.941 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5438, allocations: 0 / 1.451 GB, free: 9.941 MB / 1.154 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.000512/0.5443, allocations: 406.8 kB / 1.452 GB, free: 9.496 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5444, allocations: 8.625 kB / 1.452 GB, free: 9.488 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.5444, allocations: 42.73 kB / 1.452 GB, free: 9.438 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.5445, allocations: 4.891 kB / 1.452 GB, free: 9.434 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.5446, allocations: 180 kB / 1.452 GB, free: 9.219 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.5446, allocations: 0 / 1.452 GB, free: 9.219 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.5446, allocations: 4 kB / 1.452 GB, free: 9.215 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.5448, allocations: 89.66 kB / 1.452 GB, free: 9.121 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5448, allocations: 0 / 1.452 GB, free: 9.121 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5448, allocations: 4 kB / 1.452 GB, free: 9.117 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.5449, allocations: 12 kB / 1.452 GB, free: 9.105 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.545, allocations: 83.88 kB / 1.452 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.5455, allocations: 340.7 kB / 1.453 GB, free: 8.641 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.5457, allocations: 102.5 kB / 1.453 GB, free: 8.531 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.5458, allocations: 48.89 kB / 1.453 GB, free: 8.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009157/0.5467, allocations: 469.4 kB / 1.453 GB, free: 7.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5467, allocations: 38.58 kB / 1.453 GB, free: 7.883 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.5467, allocations: 0 / 1.453 GB, free: 7.883 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0002833/0.547, allocations: 129.5 kB / 1.453 GB, free: 7.75 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.5471, allocations: 51.41 kB / 1.453 GB, free: 7.688 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5472, allocations: 113.8 kB / 1.453 GB, free: 7.566 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.5472, allocations: 25.7 kB / 1.453 GB, free: 7.535 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.5472, allocations: 104.3 kB / 1.454 GB, free: 7.43 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.5473, allocations: 43.62 kB / 1.454 GB, free: 7.387 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.5473, allocations: 33.66 kB / 1.454 GB, free: 7.348 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5475, allocations: 322.8 kB / 1.454 GB, free: 7.023 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.5475, allocations: 27.98 kB / 1.454 GB, free: 6.996 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.5476, allocations: 77.06 kB / 1.454 GB, free: 6.902 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.5478, allocations: 109.1 kB / 1.454 GB, free: 6.777 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.5478, allocations: 4 kB / 1.454 GB, free: 6.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002201/0.548, allocations: 141.9 kB / 1.454 GB, free: 6.629 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.548, allocations: 8 kB / 1.454 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.548, allocations: 0 / 1.454 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.548, allocations: 7.938 kB / 1.454 GB, free: 6.613 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5482, allocations: 27.92 kB / 1.454 GB, free: 6.586 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5482, allocations: 4 kB / 1.454 GB, free: 6.582 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.5482, allocations: 11.89 kB / 1.454 GB, free: 6.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5482, allocations: 8.156 kB / 1.454 GB, free: 6.562 MB / 1.154 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 0.0001035/0.5483, allocations: 129.8 kB / 1.454 GB, free: 6.426 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.5484, allocations: 4 kB / 1.454 GB, free: 6.422 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.5486, allocations: 118.3 kB / 1.455 GB, free: 6.297 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5486, allocations: 7.875 kB / 1.455 GB, free: 6.289 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.5486, allocations: 4 kB / 1.455 GB, free: 6.285 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.5486, allocations: 3.984 kB / 1.455 GB, free: 6.281 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.5488, allocations: 185.6 kB / 1.455 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5488, allocations: 0 / 1.455 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.5489, allocations: 19.98 kB / 1.455 GB, free: 6.031 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5489, allocations: 0 / 1.455 GB, free: 6.031 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5489, allocations: 4 kB / 1.455 GB, free: 6.027 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.5489, allocations: 3.938 kB / 1.455 GB, free: 6.023 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5489, allocations: 4 kB / 1.455 GB, free: 6.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.5491, allocations: 195.4 kB / 1.455 GB, free: 5.812 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.5492, allocations: 93.09 kB / 1.455 GB, free: 5.703 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5493, allocations: 4 kB / 1.455 GB, free: 5.699 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.5493, allocations: 3.938 kB / 1.455 GB, free: 5.695 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.5493, allocations: 4 kB / 1.455 GB, free: 5.691 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.5493, allocations: 15.92 kB / 1.455 GB, free: 5.676 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.5494, allocations: 83.28 kB / 1.455 GB, free: 5.594 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5494, allocations: 0 / 1.455 GB, free: 5.594 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003797/0.5498, allocations: 79.73 kB / 1.455 GB, free: 5.516 MB / 1.154 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.0008186/0.5506, allocations: 0.8192 MB / 1.456 GB, free: 4.672 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.5508, allocations: 79.84 kB / 1.456 GB, free: 4.594 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5508, allocations: 4.312 kB / 1.456 GB, free: 4.59 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.5508, allocations: 39.91 kB / 1.456 GB, free: 4.551 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.5511, allocations: 19.88 kB / 1.456 GB, free: 4.531 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.5518, allocations: 251.9 kB / 1.456 GB, free: 4.242 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.5521, allocations: 0.6922 MB / 1.457 GB, free: 3.523 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.5522, allocations: 56.97 kB / 1.457 GB, free: 3.469 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.5523, allocations: 15.44 kB / 1.457 GB, free: 3.453 MB / 1.154 GB Notification: Performance of SimCode: time 3.9e-07/0.5523, allocations: 0 / 1.457 GB, free: 3.453 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.5807, allocations: 3.225 MB / 1.46 GB, free: 444 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.759, allocations: 6.203 kB / 1.46 GB, free: 444 kB / 1.154 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.302016138099134]