Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008063/0.008063, allocations: 98.27 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001795, allocations: 194.4 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.05 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7486, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002276/0.7509, allocations: 1.335 MB / 1.168 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.9152, allocations: 147.9 MB / 1.312 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.9152, allocations: 4 kB / 1.312 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.9153, allocations: 7.875 kB / 1.312 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.9155, allocations: 47.84 kB / 1.312 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.9166, allocations: 358.5 kB / 1.313 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.9168, allocations: 75.81 kB / 1.313 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.9168, allocations: 0 / 1.313 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.9169, allocations: 31.91 kB / 1.313 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.917, allocations: 47.95 kB / 1.313 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.917, allocations: 4 kB / 1.313 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.9179, allocations: 411.1 kB / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.918, allocations: 31.89 kB / 1.313 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.918, allocations: 27.86 kB / 1.313 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.9186, allocations: 273.4 kB / 1.314 GB, free: 12.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9186, allocations: 0 / 1.314 GB, free: 12.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9186, allocations: 0 / 1.314 GB, free: 12.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.9186, allocations: 4 kB / 1.314 GB, free: 12.75 MB / 1.045 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.0004789/0.9191, allocations: 406.8 kB / 1.314 GB, free: 12.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.9191, allocations: 12.88 kB / 1.314 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.9192, allocations: 4.938 kB / 1.314 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.9193, allocations: 168.3 kB / 1.314 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.9193, allocations: 7.938 kB / 1.314 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.9193, allocations: 0 / 1.314 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.9195, allocations: 93.66 kB / 1.314 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.9195, allocations: 4 kB / 1.314 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9196, allocations: 3.984 kB / 1.314 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.9196, allocations: 11.98 kB / 1.314 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.9198, allocations: 79.89 kB / 1.314 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.9203, allocations: 352.6 kB / 1.315 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.9205, allocations: 98.53 kB / 1.315 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.9205, allocations: 48.91 kB / 1.315 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008677/0.9214, allocations: 473.4 kB / 1.315 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.9215, allocations: 38.66 kB / 1.315 GB, free: 10.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.9215, allocations: 3.938 kB / 1.315 GB, free: 10.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.000264/0.9218, allocations: 117.6 kB / 1.315 GB, free: 10.61 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.9218, allocations: 59.34 kB / 1.315 GB, free: 10.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.9219, allocations: 113.8 kB / 1.316 GB, free: 10.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.9219, allocations: 33.7 kB / 1.316 GB, free: 10.38 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.922, allocations: 92.36 kB / 1.316 GB, free: 10.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.922, allocations: 43.67 kB / 1.316 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.9221, allocations: 37.64 kB / 1.316 GB, free: 10.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9222, allocations: 314.8 kB / 1.316 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.9222, allocations: 31.97 kB / 1.316 GB, free: 9.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.623e-05/0.9223, allocations: 84.11 kB / 1.316 GB, free: 9.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.9225, allocations: 117.1 kB / 1.316 GB, free: 9.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9225, allocations: 0 / 1.316 GB, free: 9.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002033/0.9227, allocations: 141.4 kB / 1.316 GB, free: 9.473 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9227, allocations: 4 kB / 1.316 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.9227, allocations: 4 kB / 1.316 GB, free: 9.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.9227, allocations: 0 / 1.316 GB, free: 9.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.9229, allocations: 35.86 kB / 1.317 GB, free: 9.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.9229, allocations: 0 / 1.317 GB, free: 9.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.9229, allocations: 16.11 kB / 1.317 GB, free: 9.414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.9229, allocations: 7.984 kB / 1.317 GB, free: 9.406 MB / 1.045 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 8.864e-05/0.923, allocations: 121.8 kB / 1.317 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.9231, allocations: 7.953 kB / 1.317 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.9233, allocations: 130.4 kB / 1.317 GB, free: 9.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.9233, allocations: 7.938 kB / 1.317 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9233, allocations: 4 kB / 1.317 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.9233, allocations: 0 / 1.317 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.9235, allocations: 173.7 kB / 1.317 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.9235, allocations: 0 / 1.317 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.9236, allocations: 16 kB / 1.317 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.9236, allocations: 0 / 1.317 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.9236, allocations: 7.984 kB / 1.317 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.9236, allocations: 3.938 kB / 1.317 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9236, allocations: 256 / 1.317 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.9238, allocations: 203.4 kB / 1.317 GB, free: 8.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.9239, allocations: 92.98 kB / 1.317 GB, free: 8.547 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.9239, allocations: 4 kB / 1.317 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.924, allocations: 11.94 kB / 1.317 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.924, allocations: 7.922 kB / 1.317 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.924, allocations: 4 kB / 1.317 GB, free: 8.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.924, allocations: 87.28 kB / 1.317 GB, free: 8.434 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.924, allocations: 0 / 1.317 GB, free: 8.434 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003608/0.9244, allocations: 75.73 kB / 1.317 GB, free: 8.359 MB / 1.045 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.0003222/0.9247, allocations: 194.9 kB / 1.318 GB, free: 8.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.9249, allocations: 80.06 kB / 1.318 GB, free: 8.082 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9249, allocations: 4 kB / 1.318 GB, free: 8.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.925, allocations: 36.45 kB / 1.318 GB, free: 8.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.9253, allocations: 22.33 kB / 1.318 GB, free: 8.023 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.9256, allocations: 178.6 kB / 1.318 GB, free: 7.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.9258, allocations: 0.6924 MB / 1.319 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.926, allocations: 52.44 kB / 1.319 GB, free: 7.051 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.926, allocations: 15.44 kB / 1.319 GB, free: 7.035 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.926, allocations: 0 / 1.319 GB, free: 7.035 MB / 1.045 GB Notification: Performance of Templates: time 0.004729/0.9307, allocations: 1.916 MB / 1.321 GB, free: 5.172 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches