Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00148/0.00148, allocations: 108 kB / 15.61 MB, free: 148 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.001437/0.001437, allocations: 196.1 kB / 16.53 MB, free: 6.656 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.284/1.284, 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.1.0-maint.11.x/package.mo): time 2.464/2.464, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 72.14 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2362, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00213/0.2384, allocations: 1.282 MB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2396, allocations: 0.8549 MB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.2396, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.2397, allocations: 15.92 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.923e-05/0.2398, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.2403, allocations: 192.4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.345e-05/0.2403, allocations: 19.92 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.803e-05/0.2403, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.189e-05/0.2404, allocations: 4 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.812e-05/0.2404, allocations: 15.92 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.2404, allocations: 0 / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.2408, allocations: 243.6 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.2408, allocations: 16 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.2409, allocations: 15.86 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.2412, allocations: 219.7 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2412, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2412, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2412, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 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.0003641/0.2416, allocations: 383.2 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.2416, allocations: 8.031 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.2416, allocations: 30.75 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.2417, allocations: 8.844 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2418, allocations: 169.8 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-06/0.2418, allocations: 384 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.2418, allocations: 384 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.825e-05/0.2419, allocations: 53.81 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.2419, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.2419, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-06/0.2419, allocations: 3.938 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.242, allocations: 31.92 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.2421, allocations: 185.5 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.2422, allocations: 54.55 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.2423, allocations: 20.92 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.2423, allocations: 11.97 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.2423, allocations: 34.5 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2423, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.2425, allocations: 85.7 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2425, allocations: 55.44 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2426, allocations: 140 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2427, allocations: 25.7 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.2427, allocations: 88.14 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.2427, allocations: 11.83 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.2428, allocations: 25.7 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2429, allocations: 318.8 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.2429, allocations: 43.98 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/0.243, allocations: 39.98 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.426e-05/0.2431, allocations: 96.81 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2431, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001388/0.2432, allocations: 129.5 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.2433, allocations: 8 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2433, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.2433, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.2433, allocations: 4 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2433, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.2433, allocations: 11.84 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.2434, allocations: 3.984 kB / 1.069 GB, free: 9.023 MB / 0.8262 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.959e-05/0.2434, allocations: 113.8 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.2435, allocations: 11.84 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.2436, allocations: 81.14 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2436, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2436, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2436, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.2437, allocations: 173.7 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2437, allocations: 4.031 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.2437, allocations: 11.88 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2437, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2437, allocations: 4 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2438, allocations: 0 / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2438, allocations: 0 / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.83e-05/0.2439, allocations: 93.11 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.2439, allocations: 84.95 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2439, allocations: 8.031 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.2439, allocations: 3.938 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.244, allocations: 0 / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.244, allocations: 0 / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.244, allocations: 107.2 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.244, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.2443, allocations: 59.98 kB / 1.07 GB, free: 8.18 MB / 0.8262 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.0005462/0.2448, allocations: 0.6943 MB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.245, allocations: 75.83 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.245, allocations: 0 / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.245, allocations: 28.02 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2452, allocations: 28.03 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2465, allocations: 1.5 MB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2467, allocations: 0.6976 MB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.2468, allocations: 4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.2468, allocations: 19.42 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2468, allocations: 3.938 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.524/1.771, allocations: 3.373 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/14.07, allocations: 11.75 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches