Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.405/2.405, allocations: 437.1 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5016, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002279/0.5039, allocations: 1.264 MB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.5052, allocations: 0.8539 MB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.5052, allocations: 4 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.5054, allocations: 19.91 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.328e-05/0.5054, allocations: 4 kB / 1.02 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.506, allocations: 179.5 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.5061, allocations: 11.94 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.5061, allocations: 15.98 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.5061, allocations: 8 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.5062, allocations: 7.938 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.5062, allocations: 0 / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.5066, allocations: 243.6 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.5066, allocations: 11.98 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.5067, allocations: 15.88 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.507, allocations: 217.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.507, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.507, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.507, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 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.0003466/0.5074, allocations: 379.2 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.5074, allocations: 12.03 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.5075, allocations: 30.75 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.5075, allocations: 4.922 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5076, allocations: 176.2 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.5076, allocations: 384 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.5076, allocations: 4.375 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.5077, allocations: 49.81 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5078, allocations: 7.875 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.5078, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5078, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.5078, allocations: 31.98 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.508, allocations: 173.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.5081, allocations: 50.56 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.5081, allocations: 24.91 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.5082, allocations: 7.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.5082, allocations: 42.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5082, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.5084, allocations: 89.52 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.5085, allocations: 55.41 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.5086, allocations: 139.9 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.5086, allocations: 25.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.5087, allocations: 100.2 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.5087, allocations: 7.844 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.5087, allocations: 17.7 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5088, allocations: 318.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.5089, allocations: 43.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.509, allocations: 47.95 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.5091, allocations: 100.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5091, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001326/0.5092, allocations: 133.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5092, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.5092, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5092, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.5093, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5093, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.5093, allocations: 7.906 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.5093, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 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 7.453e-05/0.5094, allocations: 119.4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.5094, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.5095, allocations: 81.14 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5095, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5096, allocations: 96 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5096, allocations: 3.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.5097, allocations: 169.7 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5097, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.5097, allocations: 11.92 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5097, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.5097, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5097, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5097, allocations: 7.969 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.5099, allocations: 92.91 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.5099, allocations: 92.94 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.5099, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.5099, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-06/0.5099, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.51, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001024/0.5101, allocations: 108.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5101, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002622/0.5103, allocations: 60 kB / 1.023 GB, free: 12.53 MB / 0.7794 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.0005882/0.5109, allocations: 0.7022 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.5111, allocations: 71.91 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5111, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-05/0.5111, allocations: 15.98 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.5113, allocations: 27.98 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5126, allocations: 1.515 MB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.5129, allocations: 0.6923 MB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.513, allocations: 4.188 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.513, allocations: 19.44 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.513, allocations: 3.938 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.37/2.883, allocations: 3.358 MB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/11.45, allocations: 10.12 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches