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.007113/0.007113, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001746/0.001746, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.516/2.516, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 63.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.265, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002188/0.2673, allocations: 1.278 MB / 1.167 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2686, allocations: 0.8465 MB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.2686, allocations: 0 / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.2687, allocations: 11.92 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.411e-05/0.2688, allocations: 4 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.2693, allocations: 191.3 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.2694, allocations: 23.86 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.2694, allocations: 4 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.2695, allocations: 7.984 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.2695, allocations: 11.98 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.665e-06/0.2695, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.2699, allocations: 235.6 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.27, allocations: 23.91 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.27, allocations: 15.88 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.2703, allocations: 223.7 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2703, allocations: 3.938 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2704, allocations: 0 / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2704, allocations: 0 / 1.169 GB, free: 4.363 MB / 0.92 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.0003901/0.2708, allocations: 379 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2708, allocations: 8.031 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.2708, allocations: 30.75 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.2709, allocations: 8.891 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.271, allocations: 178.4 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.271, allocations: 4.375 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.271, allocations: 384 / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.799e-05/0.2711, allocations: 49.77 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2711, allocations: 7.922 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-06/0.2711, allocations: 0 / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2712, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.2712, allocations: 27.98 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.2714, allocations: 181.6 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.2715, allocations: 58.56 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.2715, allocations: 20.92 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.2716, allocations: 7.984 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2716, allocations: 38.44 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2716, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.2717, allocations: 81.67 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2718, allocations: 51.53 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2719, allocations: 145.7 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2719, allocations: 25.7 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.272, allocations: 92.12 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.272, allocations: 7.953 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2721, allocations: 17.72 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2722, allocations: 318.8 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.2722, allocations: 43.98 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.2723, allocations: 39.97 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.2724, allocations: 112.7 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2724, allocations: 0 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001542/0.2726, allocations: 129.5 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2726, allocations: 10.03 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2726, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.2726, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.563e-05/0.2727, allocations: 7.984 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2727, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.2727, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.2727, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 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.027e-05/0.2728, allocations: 121.8 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.2728, allocations: 11.88 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.2729, allocations: 73.16 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.273, allocations: 4 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.273, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.273, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2731, allocations: 169.7 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2731, allocations: 0 / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.2731, allocations: 7.938 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2731, allocations: 4.031 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.2731, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2731, allocations: 3.984 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2732, allocations: 3.938 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.827e-05/0.2733, allocations: 97.02 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.2733, allocations: 81.05 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.2733, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.2734, allocations: 8.031 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.2734, allocations: 4.078 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2734, allocations: 7.984 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.833e-05/0.2734, allocations: 106.6 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002561/0.2737, allocations: 63.86 kB / 1.172 GB, free: 1.234 MB / 0.92 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.0006003/0.2743, allocations: 0.7058 MB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.2745, allocations: 63.97 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2745, allocations: 0 / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.2745, allocations: 20 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.2747, allocations: 32.12 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2761, allocations: 1.516 MB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2764, allocations: 0.6923 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.2764, allocations: 4.188 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2765, allocations: 17.31 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.2765, allocations: 3.938 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7258/1.002, allocations: 3.393 MB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.64, allocations: 18.73 kB / 1.178 GB, free: 10.85 MB / 0.9356 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=400 --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