Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 169.3 kB / 24.28 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9538/0.9538, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.846/1.846, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.972e-05/4.274e-05, allocations: 2.312 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002361/0.002404, allocations: 1.338 MB / 0.8129 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003897, allocations: 0.8507 MB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.003932, allocations: 1.531 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.004134, allocations: 11.98 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.476e-05/0.004159, allocations: 7.938 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.004733, allocations: 194 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.004812, allocations: 15.92 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.004849, allocations: 3.984 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.00489, allocations: 16.59 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.00493, allocations: 4.922 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.004941, allocations: 4 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.0053, allocations: 248.7 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.005353, allocations: 23.86 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.005377, allocations: 12 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.005691, allocations: 251.4 kB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005694, allocations: 1.375 kB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005695, allocations: 0 / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.005701, allocations: 0 / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003498/0.00605, allocations: 409.9 kB / 0.8149 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.006088, allocations: 12.03 kB / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.00613, allocations: 8.828 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.006223, allocations: 126.8 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.006234, allocations: 8.359 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.006243, allocations: 1.562 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.116e-05/0.006324, allocations: 30.27 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.00633, allocations: 192 / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.006338, allocations: 0.9375 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.006345, allocations: 5.656 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.006367, allocations: 4 kB / 0.8151 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.006506, allocations: 132.7 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.006554, allocations: 38.97 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.006575, allocations: 14.34 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.00662, allocations: 4 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.00664, allocations: 33.39 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006641, allocations: 0 / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.006787, allocations: 49.64 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.006817, allocations: 60 kB / 0.8154 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.006919, allocations: 193.9 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.006928, allocations: 30.23 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.006975, allocations: 134.9 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.006991, allocations: 5.609 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.007022, allocations: 27.36 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.007135, allocations: 0.4884 MB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.007156, allocations: 8 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.007169, allocations: 13.11 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.007207, allocations: 27.69 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007209, allocations: 0 / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.439e-05/0.007284, allocations: 70.38 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007295, allocations: 4 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.007301, allocations: 0.5312 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007314, allocations: 4 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.007366, allocations: 0.8438 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.007373, allocations: 8 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.007389, allocations: 14 kB / 0.8164 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.007393, allocations: 0 / 0.8164 GB, free: 12.92 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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 5.883e-05/0.007452, allocations: 152.6 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.007461, allocations: 15.89 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.007538, allocations: 41.88 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00754, allocations: 0 / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007544, allocations: 6.469 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007547, allocations: 0 / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.635e-05/0.007623, allocations: 128.6 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.007625, allocations: 4 kB / 0.8167 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.007638, allocations: 7.938 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.00764, allocations: 3.984 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.007647, allocations: 4 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007648, allocations: 1.75 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007649, allocations: 0 / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.812e-05/0.007707, allocations: 76.34 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.007714, allocations: 3.953 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.007725, allocations: 8.516 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-06/0.007731, allocations: 1.125 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.007744, allocations: 4 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.007747, allocations: 3.938 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.007796, allocations: 141.8 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007796, allocations: 0 / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002142/0.008011, allocations: 65.8 kB / 0.817 GB, free: 12.2 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.0002741/0.008285, allocations: 180.4 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.008371, allocations: 23.67 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008373, allocations: 0 / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.008384, allocations: 20.42 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.008598, allocations: 28.27 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.008844, allocations: 138.2 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.249e-05/0.008877, allocations: 67.2 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.008902, allocations: 4 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.008921, allocations: 16.44 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.008922, allocations: 0 / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.003913/0.01284, allocations: 2.282 MB / 0.8197 GB, free: 9.496 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.935224465094507]