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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001364/0.001364, 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.001351/0.001351, allocations: 191 kB / 16.25 MB, free: 6.637 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 64.14 kB / 0.8689 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.5997, 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.00231/0.602, allocations: 1.327 MB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.6033, allocations: 0.8578 MB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.6033, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.6035, allocations: 19.91 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.542e-05/0.6035, allocations: 8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.6041, allocations: 163.7 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.6041, allocations: 19.92 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.6042, allocations: 0 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.6042, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.6043, allocations: 19.92 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.6043, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.6046, allocations: 231.7 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.6047, allocations: 15.98 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.6047, allocations: 19.88 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.605, allocations: 217.8 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6051, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6051, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.6051, 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.0003861/0.6055, allocations: 387.2 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6055, allocations: 8.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.6055, allocations: 34.75 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.6056, allocations: 0.9375 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6057, allocations: 176.2 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.6057, allocations: 384 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.6057, allocations: 4.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.6058, allocations: 53.81 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.6059, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.6059, allocations: 3.984 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6059, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.6059, allocations: 31.98 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.6061, allocations: 173.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.6062, allocations: 50.5 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.6062, allocations: 24.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.6063, allocations: 7.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6063, allocations: 42.5 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.6063, allocations: 3.938 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001756/0.6065, allocations: 81.58 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.6065, allocations: 55.41 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6067, allocations: 143.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.6067, allocations: 29.64 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.6067, allocations: 92.05 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.6067, allocations: 7.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.6068, allocations: 25.81 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6069, allocations: 318.8 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.607, allocations: 43.97 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.607, allocations: 39.98 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.6071, allocations: 96.81 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6071, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001428/0.6073, allocations: 133.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.6073, allocations: 5.25 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6073, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.6073, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.6074, allocations: 7.938 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.6074, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.6074, allocations: 7.906 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.6074, allocations: 0 / 1.022 GB, free: 13.56 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 8.273e-05/0.6075, allocations: 118.4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.6075, allocations: 7.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.6076, allocations: 69.2 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.6076, allocations: 4.031 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6077, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6077, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.6078, allocations: 177.7 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6078, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.6078, allocations: 7.875 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.6078, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.6078, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6078, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6078, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.706e-05/0.6079, allocations: 105 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.608, allocations: 88.95 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.608, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.608, allocations: 4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.608, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.6081, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.542e-05/0.6081, allocations: 112.8 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6081, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002694/0.6084, allocations: 63.97 kB / 1.023 GB, free: 12.71 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.0006106/0.609, allocations: 0.6982 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.6092, allocations: 72 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6092, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.6092, allocations: 23.92 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.6095, allocations: 35.94 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.6108, allocations: 1.508 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.611, allocations: 0.6885 MB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.6111, allocations: 8.031 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.6111, allocations: 15.42 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6111, allocations: 0 / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6196/1.231, allocations: 3.287 MB / 1.029 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.231, allocations: 259 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.875, allocations: 1.5 kB / 1.029 GB, free: 6.148 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