Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001321/0.001321, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001349/0.001349, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.384/1.384, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.632/2.632, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8606, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00278/0.8634, allocations: 1.3 MB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.8651, allocations: 0.8958 MB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.8651, allocations: 0 / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.8653, allocations: 11.47 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.8653, allocations: 3.25 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.8659, allocations: 188.3 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.625e-05/0.866, allocations: 15.55 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.8661, allocations: 6.672 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.8661, allocations: 13.52 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.8661, allocations: 6.266 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.8662, allocations: 1.281 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.8667, allocations: 247.9 kB / 1.282 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.8667, allocations: 25.84 kB / 1.282 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.8668, allocations: 18.61 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.8672, allocations: 215.3 kB / 1.282 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.8673, allocations: 0.5 kB / 1.282 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8673, allocations: 4.469 kB / 1.282 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8673, allocations: 0 / 1.282 GB, free: 9.988 MB / 0.9981 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.0004837/0.8677, allocations: 378.3 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.8678, allocations: 9.719 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.213e-05/0.8678, allocations: 0.6875 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.8678, allocations: 39.89 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.8679, allocations: 6.953 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.868, allocations: 178.1 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.868, allocations: 2.266 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.868, allocations: 1.438 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.8681, allocations: 49.09 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.8682, allocations: 0.5625 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.8682, allocations: 0 / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.8682, allocations: 1.188 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.8682, allocations: 39.5 kB / 1.283 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.8684, allocations: 173.8 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.316e-05/0.8685, allocations: 46.92 kB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.8685, allocations: 24.97 kB / 1.283 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.8686, allocations: 7.938 kB / 1.283 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.8686, allocations: 36.94 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8686, allocations: 4 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.8688, allocations: 92.61 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.8688, allocations: 51.41 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.8689, allocations: 139.2 kB / 1.283 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.8689, allocations: 25.7 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.869, allocations: 90.14 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.869, allocations: 9.359 kB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.8691, allocations: 17.09 kB / 1.283 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8692, allocations: 323.8 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.8692, allocations: 42.47 kB / 1.284 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.8693, allocations: 40.66 kB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.8694, allocations: 98.44 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8694, allocations: 3.938 kB / 1.284 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001475/0.8695, allocations: 131 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.8696, allocations: 5.5 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.8696, allocations: 0.6094 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8696, allocations: 1.406 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.8696, allocations: 7.328 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8696, allocations: 0 / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.8697, allocations: 9.812 kB / 1.284 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.8697, allocations: 5.312 kB / 1.284 GB, free: 8.211 MB / 0.9981 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 8.342e-05/0.8697, allocations: 122.4 kB / 1.284 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.8698, allocations: 10.53 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.8699, allocations: 76.45 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.8699, allocations: 0 / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8699, allocations: 4.641 kB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8699, allocations: 1.438 kB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.87, allocations: 176.8 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.87, allocations: 5.25 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.87, allocations: 3.719 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.87, allocations: 0 / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.87, allocations: 1.312 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.87, allocations: 0.6562 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.87, allocations: 0 / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.8701, allocations: 97.05 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.8702, allocations: 86.89 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.8702, allocations: 1.547 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.8702, allocations: 1.188 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.8702, allocations: 2.047 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.8702, allocations: 0.6094 kB / 1.284 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.857e-05/0.8703, allocations: 105.4 kB / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8703, allocations: 0 / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003015/0.8706, allocations: 62.84 kB / 1.285 GB, free: 7.551 MB / 0.9981 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.0007078/0.8713, allocations: 0.6959 MB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.8715, allocations: 76.98 kB / 1.285 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8715, allocations: 0 / 1.285 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.8715, allocations: 15.88 kB / 1.285 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.8718, allocations: 28.62 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.8732, allocations: 1.53 MB / 1.287 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.8735, allocations: 0.6909 MB / 1.288 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.8735, allocations: 8.438 kB / 1.288 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.8735, allocations: 15.19 kB / 1.288 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.8735, allocations: 0 / 1.288 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.8939, allocations: 3.461 MB / 1.291 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.692, allocations: 12.81 kB / 1.291 GB, free: 4.488 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.483999754011165]