Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_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_latest_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.001565/0.001565, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001816/0.001816, allocations: 194 kB / 16.25 MB, free: 6.633 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.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.42/2.42, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.02 kB / 0.8987 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2803, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002404/0.2827, allocations: 1.333 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2842, allocations: 0.8648 MB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.2842, allocations: 0 / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.2844, allocations: 19.91 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.2845, allocations: 4 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.2852, allocations: 171.6 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.2853, allocations: 16 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.2854, allocations: 3.984 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.2855, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.2855, allocations: 19.88 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.2855, allocations: 0 / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.286, allocations: 235.7 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.2861, allocations: 15.98 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.2862, allocations: 11.88 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.2866, allocations: 219.7 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2866, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2866, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.2867, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 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.0005091/0.2872, allocations: 387.2 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2872, allocations: 12.03 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.2873, allocations: 30.75 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.2873, allocations: 8.922 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.2875, allocations: 168.3 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2875, allocations: 384 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2875, allocations: 384 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2877, allocations: 57.75 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2877, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2877, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2877, allocations: 3.938 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.2878, allocations: 31.98 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.2881, allocations: 185.5 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/0.2882, allocations: 46.56 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.2883, allocations: 28.84 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-05/0.2884, allocations: 4 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2884, allocations: 34.5 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.2884, allocations: 7.984 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000186/0.2886, allocations: 89.61 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.2886, allocations: 51.41 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2888, allocations: 144.3 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2888, allocations: 25.7 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.2888, allocations: 88.05 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.2889, allocations: 7.906 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.2889, allocations: 25.81 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.289, allocations: 318.8 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.2891, allocations: 43.92 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.2891, allocations: 43.97 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.2892, allocations: 96.89 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2892, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001411/0.2894, allocations: 133.6 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2894, allocations: 5.719 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2894, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2894, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.2895, allocations: 8 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2895, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.2895, allocations: 7.844 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2895, allocations: 7.938 kB / 1.057 GB, free: 3.406 MB / 0.8106 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 9.743e-05/0.2896, allocations: 115.4 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.2896, allocations: 7.938 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2898, allocations: 73.2 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2898, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2898, allocations: 4.031 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2898, allocations: 0 / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.2899, allocations: 173.6 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2899, allocations: 3.984 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.2899, allocations: 11.88 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2899, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.29, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.29, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.29, allocations: 0 / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.2901, allocations: 93.06 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.2901, allocations: 88.94 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2901, allocations: 4 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.094e-05/0.2902, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.2902, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.2902, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.2903, allocations: 107.2 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2903, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002935/0.2906, allocations: 56 kB / 1.058 GB, free: 2.574 MB / 0.8106 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.0006603/0.2912, allocations: 0.7099 MB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.2914, allocations: 71.98 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2914, allocations: 0 / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.2914, allocations: 23.98 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2917, allocations: 17.95 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2931, allocations: 1.52 MB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2933, allocations: 0.6963 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.2934, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.2934, allocations: 15.44 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2934, allocations: 3.938 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.166/1.459, allocations: 3.291 MB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/1.459, allocations: 266.3 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/3.182, allocations: 4 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches