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.005171/0.005171, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.00123/0.00123, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.515/2.515, allocations: 437.1 MB / 0.7106 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.89 kB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2665, allocations: 151.6 MB / 1.166 GB, free: 7.188 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002267/0.2688, allocations: 1.342 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6315/0.9003, allocations: 147.9 MB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.9004, allocations: 0 / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.9005, allocations: 5.578 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.9006, allocations: 51.33 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.9016, allocations: 350.9 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.9017, allocations: 70.94 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.9017, allocations: 2.875 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.9018, allocations: 38.38 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.9019, allocations: 51.52 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.9019, allocations: 1.344 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006802/0.9026, allocations: 412.1 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.9027, allocations: 30.56 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.9027, allocations: 22.55 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.9031, allocations: 273.2 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.9032, allocations: 0.6562 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9032, allocations: 1.156 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.9032, allocations: 0 / 1.313 GB, free: 12.25 MB / 1.014 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.0004231/0.9036, allocations: 410.5 kB / 1.314 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.9036, allocations: 9.312 kB / 1.314 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.9037, allocations: 40.89 kB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.9037, allocations: 4.438 kB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.9038, allocations: 170.7 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.9038, allocations: 5.125 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.9039, allocations: 3.312 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.904, allocations: 89.77 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.904, allocations: 0 / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.904, allocations: 12.16 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.9041, allocations: 10.91 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.9042, allocations: 79.8 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.9046, allocations: 339.9 kB / 1.314 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.9048, allocations: 103.8 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.9048, allocations: 50.67 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/0.9057, allocations: 474.1 kB / 1.315 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.9057, allocations: 35.61 kB / 1.315 GB, free: 10.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.9057, allocations: 0 / 1.315 GB, free: 10.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002338/0.906, allocations: 119.5 kB / 1.315 GB, free: 10.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.906, allocations: 56.56 kB / 1.315 GB, free: 10.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.9061, allocations: 121.6 kB / 1.315 GB, free: 10.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.9061, allocations: 29.39 kB / 1.315 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.9062, allocations: 96.39 kB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.9062, allocations: 41.81 kB / 1.315 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.9063, allocations: 36.38 kB / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9064, allocations: 317.1 kB / 1.316 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.9065, allocations: 32.84 kB / 1.316 GB, free: 10.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.9066, allocations: 76.12 kB / 1.316 GB, free: 10 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.9067, allocations: 112.4 kB / 1.316 GB, free: 9.945 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9067, allocations: 4 kB / 1.316 GB, free: 9.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001815/0.9069, allocations: 138.5 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.9069, allocations: 5.438 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9069, allocations: 3.109 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.9069, allocations: 4.906 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.907, allocations: 32.83 kB / 1.316 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9071, allocations: 6.656 kB / 1.316 GB, free: 9.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.9071, allocations: 11.7 kB / 1.316 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9071, allocations: 8.406 kB / 1.316 GB, free: 9.879 MB / 1.014 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.34e-05/0.9072, allocations: 123.7 kB / 1.316 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.9072, allocations: 7.391 kB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.9074, allocations: 125.4 kB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.9075, allocations: 5 kB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9075, allocations: 0.7031 kB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9075, allocations: 5.922 kB / 1.316 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.9077, allocations: 176.7 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9077, allocations: 0 / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.9077, allocations: 17.28 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9077, allocations: 1.969 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.9077, allocations: 5 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.9078, allocations: 3.938 kB / 1.317 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9078, allocations: 1.125 kB / 1.317 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.9079, allocations: 205.5 kB / 1.317 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.908, allocations: 94.33 kB / 1.317 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.908, allocations: 4.906 kB / 1.317 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.266e-05/0.9081, allocations: 6.531 kB / 1.317 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.9081, allocations: 9.984 kB / 1.317 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.9081, allocations: 2.188 kB / 1.317 GB, free: 9.262 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.9082, allocations: 85.75 kB / 1.317 GB, free: 9.188 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9082, allocations: 1.094 kB / 1.317 GB, free: 9.188 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003204/0.9085, allocations: 77.78 kB / 1.317 GB, free: 9.172 MB / 1.014 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.00068/0.9092, allocations: 0.8186 MB / 1.318 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.9094, allocations: 91.61 kB / 1.318 GB, free: 8.473 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9094, allocations: 1.188 kB / 1.318 GB, free: 8.473 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.85e-05/0.9094, allocations: 39.45 kB / 1.318 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.9097, allocations: 26.61 kB / 1.318 GB, free: 8.457 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.9102, allocations: 239.3 kB / 1.318 GB, free: 8.285 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.9105, allocations: 0.69 MB / 1.319 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.9106, allocations: 54.16 kB / 1.319 GB, free: 7.582 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.9106, allocations: 18.36 kB / 1.319 GB, free: 7.574 MB / 1.014 GB Notification: Performance of SimCode: time 2.11e-07/0.9106, allocations: 0 / 1.319 GB, free: 7.574 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.003/1.914, allocations: 3.206 MB / 1.322 GB, free: 7.098 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/13.55, allocations: 11.25 kB / 1.322 GB, free: 7.09 MB / 1.014 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=400 --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