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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00125/0.00125, 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.001276/0.001276, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.31 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2467, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002175/0.2489, allocations: 1.337 MB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2502, allocations: 0.8922 MB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.2502, allocations: 4 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2504, allocations: 11.97 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.624e-05/0.2505, allocations: 3.938 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.2509, allocations: 146.6 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.251, allocations: 11.98 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.897e-05/0.251, allocations: 8 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.251, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.2511, allocations: 11.92 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.2511, allocations: 4 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.2515, allocations: 235.6 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.2515, allocations: 19.98 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.2516, allocations: 11.88 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.2519, allocations: 215.7 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2519, allocations: 0 / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2519, allocations: 0 / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.2519, allocations: 0 / 1.055 GB, free: 5.262 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.0003425/0.2523, allocations: 379.3 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2523, allocations: 15.97 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.2524, allocations: 30.75 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.2524, allocations: 4.938 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2525, allocations: 178.4 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-06/0.2525, allocations: 384 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2525, allocations: 4.375 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.2526, allocations: 49.75 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2526, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.2526, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2526, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.345e-05/0.2527, allocations: 35.92 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.2529, allocations: 185.6 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.31e-05/0.2529, allocations: 50.56 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.253, allocations: 20.91 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.253, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.253, allocations: 46.44 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.253, allocations: 0 / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.2532, allocations: 77.67 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.2532, allocations: 59.41 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.2533, allocations: 133.8 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2533, allocations: 25.7 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.2534, allocations: 100 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.2534, allocations: 7.844 kB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.2534, allocations: 17.7 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.2535, allocations: 322.8 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.2536, allocations: 44.11 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.2536, allocations: 47.91 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.2537, allocations: 92.83 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2537, allocations: 0 / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001274/0.2539, allocations: 125.6 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2539, allocations: 7.984 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2539, allocations: 0 / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.2539, allocations: 0 / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.642e-05/0.254, allocations: 4 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.254, allocations: 0 / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.254, allocations: 11.91 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.254, allocations: 4 kB / 1.057 GB, free: 2.988 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 6.955e-05/0.2541, allocations: 121.8 kB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.2541, allocations: 7.938 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.2542, allocations: 69.22 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2542, allocations: 4.078 kB / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2542, allocations: 0 / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2542, allocations: 3.984 kB / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.2543, allocations: 181.5 kB / 1.057 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2544, allocations: 0 / 1.057 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.2544, allocations: 3.938 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2544, allocations: 11.92 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2544, allocations: 4 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2544, allocations: 80 / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2544, allocations: 3.984 kB / 1.057 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.863e-05/0.2545, allocations: 89.06 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.2545, allocations: 92.98 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2546, allocations: 3.984 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.2546, allocations: 4 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.2546, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2546, allocations: 4 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.2547, allocations: 101 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2547, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002646/0.2549, allocations: 59.98 kB / 1.058 GB, free: 2.137 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.0005411/0.2555, allocations: 0.7021 MB / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.2556, allocations: 75.89 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.2556, allocations: 0 / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.2556, allocations: 16.03 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.2559, allocations: 27.97 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.257, allocations: 1.513 MB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2573, allocations: 0.6887 MB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.2573, allocations: 8 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.2573, allocations: 15.44 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2573, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4445/0.7019, allocations: 3.219 MB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/0.7022, allocations: 282.8 kB / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.301, allocations: 3.938 kB / 1.064 GB, free: 11.58 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