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.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 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.001571/0.00157, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.28 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.226, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002096/0.2281, allocations: 1.277 MB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2293, allocations: 0.8686 MB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.2293, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2295, allocations: 15.92 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.409e-05/0.2295, allocations: 7.938 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.23, allocations: 187.5 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.2301, allocations: 19.92 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.957e-05/0.2301, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.899e-05/0.2301, allocations: 4 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.2302, allocations: 15.92 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.2302, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.2305, allocations: 235.7 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.2306, allocations: 15.98 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.2306, allocations: 19.88 kB / 1.056 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.2309, allocations: 223.7 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2309, allocations: 0 / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2309, allocations: 0 / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2309, allocations: 0 / 1.056 GB, free: 5.359 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.0003201/0.2313, allocations: 376.5 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2313, allocations: 8.031 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.2313, allocations: 34.73 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.2314, allocations: 8.875 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.2315, allocations: 178.3 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.2315, allocations: 384 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.2315, allocations: 384 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.2316, allocations: 49.81 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.2316, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.2316, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2316, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.2316, allocations: 27.98 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.2318, allocations: 193.5 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.2319, allocations: 58.44 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.2319, allocations: 28.91 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.2319, allocations: 4 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.232, allocations: 34.5 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.232, allocations: 0 / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001309/0.2321, allocations: 81.67 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2322, allocations: 55.53 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.342e-05/0.2323, allocations: 137.8 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2323, allocations: 25.7 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.2323, allocations: 95.98 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.2323, allocations: 7.906 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.2324, allocations: 21.7 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.2325, allocations: 314.8 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.2325, allocations: 43.98 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-05/0.2326, allocations: 43.97 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.2327, allocations: 96.81 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2327, allocations: 0 / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001275/0.2328, allocations: 129.6 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2328, allocations: 8.938 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2328, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2328, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.2329, allocations: 7.938 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.2329, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.2329, allocations: 7.844 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.2329, allocations: 4 kB / 1.058 GB, free: 3.086 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.419e-05/0.233, allocations: 123.4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.233, allocations: 3.938 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.2331, allocations: 73.2 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2331, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2331, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2331, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.272e-05/0.2332, allocations: 173.6 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2332, allocations: 11.95 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.2333, allocations: 7.938 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2333, allocations: 96 / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2333, allocations: 3.938 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2333, allocations: 3.938 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2333, allocations: 3.984 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.072e-05/0.2334, allocations: 89.12 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.2334, allocations: 88.94 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.2334, allocations: 4.031 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.2334, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-06/0.2335, allocations: 4 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.2335, allocations: 0 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.587e-05/0.2335, allocations: 109.4 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2335, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002485/0.2338, allocations: 56 kB / 1.058 GB, free: 2.242 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.0005028/0.2343, allocations: 0.7026 MB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.2344, allocations: 67.97 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2344, allocations: 0 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.2345, allocations: 28.02 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.2347, allocations: 23.92 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2358, allocations: 1.519 MB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.236, allocations: 0.6846 MB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.2361, allocations: 4 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.2361, allocations: 23.44 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2361, allocations: 0 / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.295/2.531, allocations: 3.362 MB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/10.81, allocations: 4.766 kB / 1.065 GB, free: 11.89 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