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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006244/0.006244, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001193/0.001193, allocations: 193.5 kB / 16.67 MB, free: 5.953 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.277/2.277, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7738, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002142/0.776, allocations: 1.343 MB / 1.167 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.9251, allocations: 147.9 MB / 1.312 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.9252, allocations: 3.938 kB / 1.312 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.9252, allocations: 7.922 kB / 1.312 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.9255, allocations: 35.88 kB / 1.312 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.9267, allocations: 358.6 kB / 1.312 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.9268, allocations: 75.8 kB / 1.312 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.9269, allocations: 0 / 1.312 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.9269, allocations: 35.84 kB / 1.312 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.927, allocations: 55.94 kB / 1.312 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.9271, allocations: 4 kB / 1.312 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000844/0.9279, allocations: 407.1 kB / 1.313 GB, free: 13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.928, allocations: 31.89 kB / 1.313 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.928, allocations: 27.86 kB / 1.313 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.9286, allocations: 273.6 kB / 1.313 GB, free: 12.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9286, allocations: 0 / 1.313 GB, free: 12.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9286, allocations: 0 / 1.313 GB, free: 12.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9286, allocations: 0 / 1.313 GB, free: 12.68 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.0004703/0.9291, allocations: 399.3 kB / 1.314 GB, free: 12.24 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.9292, allocations: 12.03 kB / 1.314 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.9292, allocations: 38.73 kB / 1.314 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.9293, allocations: 12.84 kB / 1.314 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.9294, allocations: 168.1 kB / 1.314 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.9294, allocations: 0 / 1.314 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.9294, allocations: 4 kB / 1.314 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.9296, allocations: 95.56 kB / 1.314 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.9296, allocations: 0 / 1.314 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9296, allocations: 4 kB / 1.314 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.9297, allocations: 15.98 kB / 1.314 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.9298, allocations: 75.95 kB / 1.314 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.9303, allocations: 344.6 kB / 1.314 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.9305, allocations: 98.53 kB / 1.314 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.9306, allocations: 48.91 kB / 1.314 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.9315, allocations: 473.4 kB / 1.315 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.9315, allocations: 34.56 kB / 1.315 GB, free: 10.63 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.9315, allocations: 0 / 1.315 GB, free: 10.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0002726/0.9318, allocations: 133.5 kB / 1.315 GB, free: 10.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.9318, allocations: 51.41 kB / 1.315 GB, free: 10.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.9319, allocations: 121.8 kB / 1.315 GB, free: 10.3 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.932, allocations: 33.7 kB / 1.315 GB, free: 10.26 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.932, allocations: 100.1 kB / 1.315 GB, free: 10.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.9321, allocations: 39.39 kB / 1.315 GB, free: 10.12 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.9321, allocations: 33.7 kB / 1.315 GB, free: 10.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9322, allocations: 318.8 kB / 1.316 GB, free: 9.762 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.9323, allocations: 31.97 kB / 1.316 GB, free: 9.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.9324, allocations: 69.39 kB / 1.316 GB, free: 9.645 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.9325, allocations: 117 kB / 1.316 GB, free: 9.512 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.9325, allocations: 8 kB / 1.316 GB, free: 9.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001887/0.9327, allocations: 137.5 kB / 1.316 GB, free: 9.363 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9328, allocations: 8 kB / 1.316 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9328, allocations: 0 / 1.316 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9328, allocations: 7.938 kB / 1.316 GB, free: 9.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.9329, allocations: 23.98 kB / 1.316 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.9329, allocations: 7.938 kB / 1.316 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.933, allocations: 19.83 kB / 1.316 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.933, allocations: 4 kB / 1.316 GB, free: 9.293 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.754e-05/0.9331, allocations: 122 kB / 1.316 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.9331, allocations: 7.906 kB / 1.316 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.9333, allocations: 130.4 kB / 1.316 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.9333, allocations: 3.938 kB / 1.316 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9334, allocations: 0 / 1.316 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9334, allocations: 0 / 1.316 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.9335, allocations: 185.5 kB / 1.317 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9336, allocations: 4 kB / 1.317 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.9336, allocations: 16 kB / 1.317 GB, free: 8.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9336, allocations: 3.984 kB / 1.317 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.9336, allocations: 0 / 1.317 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.9337, allocations: 3.938 kB / 1.317 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9337, allocations: 4 kB / 1.317 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.9339, allocations: 195.4 kB / 1.317 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.9339, allocations: 97 kB / 1.317 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.934, allocations: 4 kB / 1.317 GB, free: 8.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.934, allocations: 7.938 kB / 1.317 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.934, allocations: 11.92 kB / 1.317 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.934, allocations: 4 kB / 1.317 GB, free: 8.402 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.9341, allocations: 91.27 kB / 1.317 GB, free: 8.312 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9341, allocations: 0 / 1.317 GB, free: 8.312 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003475/0.9345, allocations: 67.94 kB / 1.317 GB, free: 8.246 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.0006936/0.9352, allocations: 0.8139 MB / 1.318 GB, free: 7.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.9353, allocations: 83.89 kB / 1.318 GB, free: 7.324 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.9354, allocations: 4.25 kB / 1.318 GB, free: 7.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.9354, allocations: 48.47 kB / 1.318 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.9357, allocations: 19.92 kB / 1.318 GB, free: 7.254 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.9363, allocations: 232.6 kB / 1.318 GB, free: 6.984 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.9365, allocations: 0.6939 MB / 1.319 GB, free: 6.266 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.9367, allocations: 52.44 kB / 1.319 GB, free: 6.215 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.9367, allocations: 15.44 kB / 1.319 GB, free: 6.199 MB / 1.045 GB Notification: Performance of SimCode: time 2.5e-07/0.9367, allocations: 4 kB / 1.319 GB, free: 6.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.9549, allocations: 3.204 MB / 1.322 GB, free: 3.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.588, allocations: 9.547 kB / 1.322 GB, free: 3.191 MB / 1.045 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > 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/jenkins1/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