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.001791/0.001791, allocations: 101.9 kB / 16.4 MB, free: 6.406 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.00198/0.00198, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 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.556/2.556, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 60.12 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9588, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003251/0.9622, allocations: 1.341 MB / 1.169 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1748/1.137, allocations: 147.9 MB / 1.313 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/1.137, allocations: 0 / 1.313 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/1.137, allocations: 7.875 kB / 1.313 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/1.137, allocations: 51.86 kB / 1.313 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/1.139, allocations: 358.6 kB / 1.313 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/1.139, allocations: 63.83 kB / 1.313 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/1.139, allocations: 3.984 kB / 1.313 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/1.139, allocations: 39.84 kB / 1.314 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/1.139, allocations: 47.94 kB / 1.314 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/1.139, allocations: 8 kB / 1.314 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/1.141, allocations: 415.1 kB / 1.314 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/1.141, allocations: 23.95 kB / 1.314 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/1.141, allocations: 27.86 kB / 1.314 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000687/1.141, allocations: 277.1 kB / 1.314 GB, free: 12.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.141, allocations: 4 kB / 1.314 GB, free: 12.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/1.141, allocations: 0 / 1.314 GB, free: 12.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.313e-06/1.141, allocations: 0 / 1.314 GB, free: 12.76 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.0005393/1.142, allocations: 391.3 kB / 1.315 GB, free: 12.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.142, allocations: 16.88 kB / 1.315 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/1.142, allocations: 4.938 kB / 1.315 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.142, allocations: 168.2 kB / 1.315 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.142, allocations: 7.938 kB / 1.315 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/1.142, allocations: 4 kB / 1.315 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/1.142, allocations: 93.59 kB / 1.315 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/1.142, allocations: 0 / 1.315 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.142, allocations: 3.984 kB / 1.315 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/1.143, allocations: 19.92 kB / 1.315 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/1.143, allocations: 75.95 kB / 1.315 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/1.143, allocations: 340.7 kB / 1.315 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/1.143, allocations: 102.5 kB / 1.315 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/1.143, allocations: 52.89 kB / 1.316 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009357/1.144, allocations: 469.4 kB / 1.316 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.144, allocations: 38.56 kB / 1.316 GB, free: 10.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/1.144, allocations: 0 / 1.316 GB, free: 10.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0002855/1.145, allocations: 125.6 kB / 1.316 GB, free: 10.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/1.145, allocations: 55.34 kB / 1.316 GB, free: 10.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.145, allocations: 117.9 kB / 1.316 GB, free: 10.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.145, allocations: 25.7 kB / 1.316 GB, free: 10.4 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/1.145, allocations: 108.1 kB / 1.316 GB, free: 10.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.145, allocations: 39.41 kB / 1.316 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.144e-05/1.145, allocations: 33.64 kB / 1.316 GB, free: 10.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.145, allocations: 322.8 kB / 1.317 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/1.145, allocations: 27.98 kB / 1.317 GB, free: 9.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/1.145, allocations: 69.12 kB / 1.317 GB, free: 9.777 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/1.146, allocations: 121.5 kB / 1.317 GB, free: 9.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.146, allocations: 3.938 kB / 1.317 GB, free: 9.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002148/1.146, allocations: 145.5 kB / 1.317 GB, free: 9.488 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.146, allocations: 4 kB / 1.317 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.146, allocations: 4 kB / 1.317 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.146, allocations: 0 / 1.317 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.146, allocations: 31.92 kB / 1.317 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.146, allocations: 0 / 1.317 GB, free: 9.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/1.146, allocations: 11.84 kB / 1.317 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/1.146, allocations: 8 kB / 1.317 GB, free: 9.43 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 0.0001025/1.146, allocations: 125.9 kB / 1.317 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/1.146, allocations: 7.906 kB / 1.317 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/1.146, allocations: 122 kB / 1.317 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.146, allocations: 7.938 kB / 1.317 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.146, allocations: 0 / 1.317 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.146, allocations: 0 / 1.317 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/1.147, allocations: 185.5 kB / 1.318 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.147, allocations: 4 kB / 1.318 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/1.147, allocations: 19.98 kB / 1.318 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.147, allocations: 4 kB / 1.318 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/1.147, allocations: 4 kB / 1.318 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.147, allocations: 3.938 kB / 1.318 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.147, allocations: 0 / 1.318 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/1.147, allocations: 191.5 kB / 1.318 GB, free: 8.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/1.147, allocations: 93 kB / 1.318 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.147, allocations: 3.938 kB / 1.318 GB, free: 8.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/1.147, allocations: 12.19 kB / 1.318 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/1.147, allocations: 15.92 kB / 1.318 GB, free: 8.539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/1.147, allocations: 4 kB / 1.318 GB, free: 8.535 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.041e-05/1.147, allocations: 87.27 kB / 1.318 GB, free: 8.449 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.147, allocations: 0 / 1.318 GB, free: 8.449 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003808/1.148, allocations: 75.94 kB / 1.318 GB, free: 8.375 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.000391/1.148, allocations: 187.1 kB / 1.318 GB, free: 8.184 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000196/1.148, allocations: 83.89 kB / 1.318 GB, free: 8.102 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.148, allocations: 4 kB / 1.318 GB, free: 8.098 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/1.148, allocations: 39.86 kB / 1.318 GB, free: 8.059 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.149, allocations: 15.94 kB / 1.318 GB, free: 8.043 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/1.149, allocations: 196.8 kB / 1.319 GB, free: 7.816 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/1.149, allocations: 0.6885 MB / 1.319 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/1.15, allocations: 19.42 kB / 1.319 GB, free: 7.082 MB / 1.045 GB Notification: Performance of SimCode: time 2.2e-07/1.15, allocations: 0 / 1.319 GB, free: 7.082 MB / 1.045 GB Notification: Performance of Templates: time 0.004034/1.154, allocations: 1.852 MB / 1.321 GB, free: 5.242 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/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