Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.004247/0.004247, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001147/0.001148, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 71.3 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2482, allocations: 140.4 MB / 1.088 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002318/0.2505, allocations: 1.267 MB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2519, allocations: 0.8479 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.2519, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2521, allocations: 15.92 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.372e-05/0.2522, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.2528, allocations: 194.3 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.2529, allocations: 15.92 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.2529, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.2529, allocations: 11.98 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.253, allocations: 7.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.253, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.2534, allocations: 243.6 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.2534, allocations: 11.98 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.2535, allocations: 23.88 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.2538, allocations: 222.2 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2538, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2538, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.2538, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 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.0003652/0.2542, allocations: 376.1 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2543, allocations: 8.031 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.2543, allocations: 38.75 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.2543, allocations: 4.844 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.2544, allocations: 171.2 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2544, allocations: 4.125 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2545, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.2546, allocations: 53.69 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2546, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.2546, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2546, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.543e-05/0.2546, allocations: 39.86 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.2548, allocations: 181.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.707e-05/0.2549, allocations: 58.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.2549, allocations: 32.89 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.255, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.255, allocations: 30.56 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.255, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.2551, allocations: 81.61 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2552, allocations: 55.41 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2553, allocations: 137.9 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2553, allocations: 37.67 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.2554, allocations: 84.14 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.2554, allocations: 7.906 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2554, allocations: 17.72 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2555, allocations: 318.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.2556, allocations: 39.98 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.2556, allocations: 51.95 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.09e-05/0.2557, allocations: 92.83 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2557, allocations: 7.938 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.2559, allocations: 125.6 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2559, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2559, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2559, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.256, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.256, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.256, allocations: 11.84 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.256, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 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 7.286e-05/0.2561, allocations: 125.7 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.2561, allocations: 7.906 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.2562, allocations: 77.14 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2562, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2563, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2563, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.2564, allocations: 181.6 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2564, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.2564, allocations: 3.984 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2564, allocations: 3.938 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.2564, allocations: 8.031 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2564, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2564, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2565, allocations: 97 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.2566, allocations: 89 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.2566, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.2566, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.2566, allocations: 4.031 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.2567, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.2567, allocations: 109.1 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2567, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002871/0.257, allocations: 52 kB / 1.093 GB, free: 11.98 MB / 0.8575 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.0005864/0.2576, allocations: 0.6983 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2577, allocations: 71.91 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2578, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.2578, allocations: 15.98 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.258, allocations: 31.98 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.2593, allocations: 1.518 MB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2595, allocations: 0.6846 MB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.2596, allocations: 7.906 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.2596, allocations: 23.42 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2596, allocations: 0 / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7808/1.04, allocations: 3.39 MB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.91, allocations: 26.64 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches