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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.001415/0.001415, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001529/0.001529, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.7423 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 62.52 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3753, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003256/0.3786, allocations: 1.392 MB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8789/1.258, allocations: 145.7 MB / 1.207 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/1.258, allocations: 0 / 1.207 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.634e-05/1.258, allocations: 5.219 kB / 1.207 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/1.258, allocations: 36 kB / 1.207 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/1.26, allocations: 336.9 kB / 1.208 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/1.26, allocations: 66.3 kB / 1.208 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.825e-05/1.26, allocations: 10.44 kB / 1.208 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/1.26, allocations: 30.39 kB / 1.208 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/1.261, allocations: 66.44 kB / 1.208 GB, free: 496 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/1.261, allocations: 2.781 kB / 1.208 GB, free: 496 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/1.262, allocations: 410.5 kB / 1.208 GB, free: 272 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/1.262, allocations: 31.42 kB / 1.208 GB, free: 252 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/1.262, allocations: 25.12 kB / 1.208 GB, free: 240 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007246/1.263, allocations: 193.7 kB / 1.209 GB, free: 156 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/1.263, allocations: 3.984 kB / 1.209 GB, free: 152 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/1.263, allocations: 3.938 kB / 1.209 GB, free: 148 kB / 0.92 GB Notification: Performance of Transformations before backend: time 9.929e-06/1.263, allocations: 4 kB / 1.209 GB, free: 144 kB / 0.92 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.0009297/1.264, allocations: 393 kB / 1.209 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.066e-05/1.264, allocations: 14 kB / 1.209 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/1.264, allocations: 7.688 kB / 1.209 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/1.264, allocations: 162 kB / 1.209 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/1.265, allocations: 5.312 kB / 1.209 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/1.265, allocations: 2.344 kB / 1.209 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/1.265, allocations: 97.05 kB / 1.209 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/1.265, allocations: 0 / 1.209 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/1.265, allocations: 7.938 kB / 1.209 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/1.265, allocations: 17.42 kB / 1.209 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/1.265, allocations: 79.42 kB / 1.209 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/1.266, allocations: 333.9 kB / 1.21 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/1.266, allocations: 99.25 kB / 1.21 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/1.267, allocations: 59.11 kB / 1.21 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/1.268, allocations: 477.8 kB / 1.21 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/1.268, allocations: 31.69 kB / 1.21 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/1.268, allocations: 0 / 1.21 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.000453/1.268, allocations: 125.4 kB / 1.21 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.268, allocations: 61.56 kB / 1.21 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.269, allocations: 119.4 kB / 1.211 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/1.269, allocations: 25.7 kB / 1.211 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/1.269, allocations: 99.61 kB / 1.211 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/1.269, allocations: 36.16 kB / 1.211 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/1.269, allocations: 33.83 kB / 1.211 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.269, allocations: 321 kB / 1.211 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/1.269, allocations: 31.2 kB / 1.211 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/1.269, allocations: 75.19 kB / 1.211 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/1.27, allocations: 112.9 kB / 1.211 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.27, allocations: 3.938 kB / 1.211 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003496/1.27, allocations: 136.8 kB / 1.211 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.27, allocations: 9.828 kB / 1.211 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.27, allocations: 2.375 kB / 1.211 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.27, allocations: 2.938 kB / 1.211 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/1.27, allocations: 32.61 kB / 1.211 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.27, allocations: 6.938 kB / 1.211 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/1.27, allocations: 10.78 kB / 1.211 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/1.27, allocations: 9.125 kB / 1.211 GB, free: 13.46 MB / 0.9356 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.0001471/1.271, allocations: 125.5 kB / 1.212 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/1.271, allocations: 7.375 kB / 1.212 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/1.271, allocations: 122.5 kB / 1.212 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.271, allocations: 2.094 kB / 1.212 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.271, allocations: 7.938 kB / 1.212 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.271, allocations: 1.281 kB / 1.212 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/1.271, allocations: 179.5 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.271, allocations: 0 / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.831e-05/1.271, allocations: 18.39 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/1.271, allocations: 1.156 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/1.271, allocations: 5.031 kB / 1.212 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.271, allocations: 4.875 kB / 1.212 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.271, allocations: 3.938 kB / 1.212 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/1.272, allocations: 199.2 kB / 1.212 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.272, allocations: 94.41 kB / 1.212 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/1.272, allocations: 5 kB / 1.212 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/1.272, allocations: 1.344 kB / 1.212 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/1.272, allocations: 11.2 kB / 1.212 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/1.272, allocations: 6.562 kB / 1.212 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.882e-05/1.272, allocations: 87.08 kB / 1.212 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.272, allocations: 3.938 kB / 1.212 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006782/1.273, allocations: 73.41 kB / 1.212 GB, free: 12.63 MB / 0.9356 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.0006152/1.274, allocations: 190.2 kB / 1.213 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003051/1.274, allocations: 97.58 kB / 1.213 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.274, allocations: 1.125 kB / 1.213 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/1.274, allocations: 37.55 kB / 1.213 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/1.274, allocations: 19.52 kB / 1.213 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/1.275, allocations: 216 kB / 1.213 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/1.275, allocations: 0.6872 MB / 1.214 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/1.275, allocations: 22.58 kB / 1.214 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of SimCode: time 1.162e-06/1.275, allocations: 0 / 1.214 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of Templates: time 0.006494/1.282, allocations: 1.847 MB / 1.215 GB, free: 10.62 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches