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.008061/0.008061, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001797/0.001798, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.268/2.268, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 0.9504 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7995, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00231/0.8018, allocations: 1.276 MB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.8032, allocations: 0.8522 MB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.8032, allocations: 1.062 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.8034, allocations: 10.23 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.023e-05/0.8035, allocations: 7.234 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.8042, allocations: 188.4 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.8043, allocations: 16.05 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.8044, allocations: 2.609 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.8044, allocations: 12.23 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.8044, allocations: 5.047 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.8045, allocations: 1.094 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.805, allocations: 248.6 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.805, allocations: 14.78 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.8051, allocations: 21.95 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.8055, allocations: 212.3 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8055, allocations: 0 / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8055, allocations: 1.062 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.8055, allocations: 0 / 1.09 GB, free: 3.566 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.0003674/0.8059, allocations: 382.4 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.8059, allocations: 9.781 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.419e-05/0.806, allocations: 35.34 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.806, allocations: 11.09 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.101e-05/0.8061, allocations: 170.4 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.8061, allocations: 9.188 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.8061, allocations: 0.9688 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.8062, allocations: 41.52 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8062, allocations: 0 / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8063, allocations: 4.969 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8063, allocations: 0.75 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.8063, allocations: 27.47 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.8065, allocations: 182.3 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.8066, allocations: 58.34 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.8066, allocations: 21.47 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.8066, allocations: 8.828 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.8067, allocations: 35.31 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.8067, allocations: 0.9375 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.8069, allocations: 84.61 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.8069, allocations: 55.53 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.807, allocations: 138.8 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.807, allocations: 29.7 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.8071, allocations: 92.5 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.8071, allocations: 9.391 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.8071, allocations: 21.08 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.8072, allocations: 315.1 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.8073, allocations: 43.38 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.8073, allocations: 48.11 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.8075, allocations: 94.61 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8075, allocations: 4.625 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001595/0.8076, allocations: 125.9 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8077, allocations: 6.609 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8077, allocations: 4 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8077, allocations: 0.9688 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.8078, allocations: 3.641 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.8078, allocations: 3.938 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.8078, allocations: 6.547 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.8078, allocations: 4.969 kB / 1.092 GB, free: 1.789 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 6.221e-05/0.8079, allocations: 121.2 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.8079, allocations: 7.328 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.808, allocations: 72.88 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.808, allocations: 4.031 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.808, allocations: 4.922 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.808, allocations: 0.7031 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.8081, allocations: 177.5 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8081, allocations: 4.031 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.8082, allocations: 4.594 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8082, allocations: 0 / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.8082, allocations: 0.7188 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8082, allocations: 0.7188 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8082, allocations: 0.5625 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.451e-05/0.8083, allocations: 89.92 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.8083, allocations: 82.69 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.8083, allocations: 9.359 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.8084, allocations: 0.7812 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.8084, allocations: 1.844 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.8084, allocations: 1.062 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.8085, allocations: 104.4 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8085, allocations: 7.875 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003996/0.8089, allocations: 62.12 kB / 1.093 GB, free: 1.133 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.0006423/0.8095, allocations: 0.7071 MB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.8097, allocations: 66.38 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8097, allocations: 0 / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.8097, allocations: 24.53 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.81, allocations: 25.05 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.8117, allocations: 1.528 MB / 1.095 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.812, allocations: 0.6871 MB / 1.096 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.858e-05/0.812, allocations: 15.06 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.8121, allocations: 15.19 kB / 1.096 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of SimCode: time 7.72e-07/0.8121, allocations: 0.5312 kB / 1.096 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.8326, allocations: 3.407 MB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.685, allocations: 11.22 kB / 1.099 GB, free: 14.07 MB / 0.8731 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