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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001469/0.001469, allocations: 104.5 kB / 16.35 MB, free: 5.875 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.00165/0.00165, allocations: 191 kB / 17.29 MB, free: 5.516 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.55 kB / 0.8774 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 153 MB / 1.027 GB, free: 1.984 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003109/0.2909, allocations: 1.345 MB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6218/0.9127, allocations: 147.9 MB / 1.172 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.9128, allocations: 0 / 1.172 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.9129, allocations: 7.734 kB / 1.172 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.9131, allocations: 44.97 kB / 1.172 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.9142, allocations: 354.8 kB / 1.173 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.9144, allocations: 62.84 kB / 1.173 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.9144, allocations: 12.2 kB / 1.173 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.9145, allocations: 28.22 kB / 1.173 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.9146, allocations: 51.59 kB / 1.173 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.9146, allocations: 6.344 kB / 1.173 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.9153, allocations: 408.9 kB / 1.173 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.9153, allocations: 28.66 kB / 1.173 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.9154, allocations: 31.53 kB / 1.173 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.9158, allocations: 267.8 kB / 1.174 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9159, allocations: 0 / 1.174 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9159, allocations: 0 / 1.174 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9159, allocations: 1.094 kB / 1.174 GB, free: 10.94 MB / 0.8887 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.0003877/0.9163, allocations: 404 kB / 1.174 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.9163, allocations: 11.86 kB / 1.174 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.9163, allocations: 7.031 kB / 1.174 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.771e-05/0.9164, allocations: 162.7 kB / 1.174 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.9165, allocations: 10.23 kB / 1.174 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.9165, allocations: 6.625 kB / 1.174 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.9167, allocations: 89.3 kB / 1.174 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.9167, allocations: 1.156 kB / 1.174 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.9167, allocations: 0 / 1.174 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.9167, allocations: 23.12 kB / 1.174 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.9168, allocations: 79.38 kB / 1.174 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.9173, allocations: 335.3 kB / 1.175 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.9174, allocations: 101.2 kB / 1.175 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.9175, allocations: 54.92 kB / 1.175 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007549/0.9183, allocations: 473.6 kB / 1.175 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.9183, allocations: 32.5 kB / 1.175 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.9183, allocations: 1.312 kB / 1.175 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0002469/0.9185, allocations: 121.7 kB / 1.176 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.9186, allocations: 64.47 kB / 1.176 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.9187, allocations: 118.6 kB / 1.176 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.9187, allocations: 27.08 kB / 1.176 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.9187, allocations: 95.47 kB / 1.176 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.9188, allocations: 43.75 kB / 1.176 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.9188, allocations: 31.27 kB / 1.176 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.9189, allocations: 318.9 kB / 1.176 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.919, allocations: 33.38 kB / 1.176 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.9191, allocations: 80.75 kB / 1.176 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.9192, allocations: 110.8 kB / 1.176 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9192, allocations: 1.406 kB / 1.176 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000183/0.9194, allocations: 139.7 kB / 1.177 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.9194, allocations: 5.156 kB / 1.177 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.9194, allocations: 4.578 kB / 1.177 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.9194, allocations: 2.156 kB / 1.177 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.9195, allocations: 31.31 kB / 1.177 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.9196, allocations: 9.812 kB / 1.177 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.9196, allocations: 11.5 kB / 1.177 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.9196, allocations: 8.281 kB / 1.177 GB, free: 8.41 MB / 0.8887 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 7.686e-05/0.9197, allocations: 128.9 kB / 1.177 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.9198, allocations: 7.469 kB / 1.177 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.92, allocations: 122.3 kB / 1.177 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.92, allocations: 1.156 kB / 1.177 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.92, allocations: 3.938 kB / 1.177 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.92, allocations: 7.594 kB / 1.177 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.9202, allocations: 182.5 kB / 1.177 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9202, allocations: 1.125 kB / 1.177 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.9202, allocations: 16.06 kB / 1.177 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9203, allocations: 1.062 kB / 1.177 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.9203, allocations: 5.125 kB / 1.177 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9203, allocations: 0 / 1.177 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9203, allocations: 8.969 kB / 1.177 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.9204, allocations: 191.7 kB / 1.177 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.9205, allocations: 102.9 kB / 1.177 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.9205, allocations: 0.9688 kB / 1.177 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.9206, allocations: 1.094 kB / 1.177 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.9206, allocations: 9.812 kB / 1.177 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.9206, allocations: 8.094 kB / 1.177 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.9207, allocations: 88.39 kB / 1.177 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.533e-06/0.9207, allocations: 0 / 1.177 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003415/0.921, allocations: 82.95 kB / 1.178 GB, free: 7.633 MB / 0.8887 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.0003045/0.9213, allocations: 190.6 kB / 1.178 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.9215, allocations: 82.27 kB / 1.178 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9215, allocations: 0 / 1.178 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.9216, allocations: 42.97 kB / 1.178 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.9218, allocations: 18.09 kB / 1.178 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.9221, allocations: 180.6 kB / 1.178 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.9224, allocations: 0.6921 MB / 1.179 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.9225, allocations: 52.94 kB / 1.179 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.9225, allocations: 12.69 kB / 1.179 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/0.9225, allocations: 0 / 1.179 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of Templates: time 0.004484/0.927, allocations: 1.908 MB / 1.181 GB, free: 5.887 MB / 0.8887 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 -s gbode -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