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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001441/0.001441, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.405/2.405, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5186, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002316/0.521, allocations: 1.339 MB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.5223, allocations: 0.8775 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.5224, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.5226, allocations: 15.98 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.732e-05/0.5226, allocations: 3.984 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.5231, allocations: 131.7 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.632e-05/0.5232, allocations: 19.92 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.5232, allocations: 3.984 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.5232, allocations: 15.92 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.732e-05/0.5233, allocations: 4 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.5233, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.5237, allocations: 231.6 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.5237, allocations: 19.91 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.5238, allocations: 19.88 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.5241, allocations: 213.8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5241, allocations: 3.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5242, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5242, allocations: 0 / 1.02 GB, free: 15.85 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.0003366/0.5245, allocations: 375.3 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5246, allocations: 8.031 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.5246, allocations: 34.73 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.5246, allocations: 4.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.5247, allocations: 176.2 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.5247, allocations: 4.375 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.5248, allocations: 384 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.789e-05/0.5248, allocations: 53.81 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.5249, allocations: 3.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.5249, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5249, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.5249, allocations: 35.92 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.5251, allocations: 173.7 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.788e-05/0.5252, allocations: 50.56 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.5252, allocations: 28.89 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.5253, allocations: 4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5253, allocations: 38.5 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5253, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.5254, allocations: 85.52 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5255, allocations: 51.41 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.5256, allocations: 148.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.5256, allocations: 29.83 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.5256, allocations: 92.05 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.5257, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.5257, allocations: 17.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.5258, allocations: 318.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.5258, allocations: 51.97 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.5259, allocations: 43.98 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.526, allocations: 92.81 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.526, allocations: 8 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001386/0.5261, allocations: 137.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5262, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5262, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.5262, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.5262, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.5263, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.5263, allocations: 7.844 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.5263, allocations: 7.938 kB / 1.022 GB, free: 13.57 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.252e-05/0.5264, allocations: 122.4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.5264, allocations: 7.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.5265, allocations: 77.14 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.5265, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5265, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5265, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.998e-05/0.5266, allocations: 173.6 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5266, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.5267, allocations: 3.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5267, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.5267, allocations: 8.031 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5267, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5267, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.915e-05/0.5268, allocations: 93.02 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.5268, allocations: 88.95 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5268, allocations: 3.938 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.5269, allocations: 4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.5269, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.5269, allocations: 4.031 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.5269, allocations: 103.2 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.527, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002778/0.5272, allocations: 60 kB / 1.022 GB, free: 12.73 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.0005388/0.5278, allocations: 0.6989 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.5279, allocations: 71.91 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5279, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.5279, allocations: 15.98 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5282, allocations: 35.89 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.5294, allocations: 1.52 MB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.5296, allocations: 0.6887 MB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.5296, allocations: 8 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.5297, allocations: 15.44 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.5297, allocations: 0 / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/2.171, allocations: 3.226 MB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003113/2.171, allocations: 266.1 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/4.715, allocations: 0 / 1.029 GB, free: 6.195 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