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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 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.001073/0.001073, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.289/2.289, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5164, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001948/0.5184, allocations: 1.277 MB / 0.951 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.5195, allocations: 0.8394 MB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.5195, allocations: 1.312 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.5197, allocations: 8.219 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.226e-05/0.5197, allocations: 2.781 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.5202, allocations: 196.9 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.649e-05/0.5202, allocations: 20.86 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.147e-05/0.5203, allocations: 1.219 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.5203, allocations: 3.781 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.5203, allocations: 15.67 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.5204, allocations: 1.375 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.5207, allocations: 247.7 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.5207, allocations: 10.88 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.5208, allocations: 16.83 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.521, allocations: 218.9 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5211, allocations: 0 / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5211, allocations: 1.094 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.5211, allocations: 0 / 0.9525 GB, free: 7.055 MB / 0.7169 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.0002722/0.5214, allocations: 384.7 kB / 0.9529 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.5214, allocations: 9.312 kB / 0.9529 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.844e-05/0.5214, allocations: 30.75 kB / 0.9529 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.5214, allocations: 11.5 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.5215, allocations: 174.2 kB / 0.9531 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.5215, allocations: 1.531 kB / 0.9531 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.5215, allocations: 9.406 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.851e-05/0.5216, allocations: 46.09 kB / 0.9532 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5216, allocations: 3.984 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.5216, allocations: 0 / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5217, allocations: 1.375 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.314e-05/0.5217, allocations: 37.12 kB / 0.9532 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.5218, allocations: 175.9 kB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/0.5219, allocations: 55.98 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.5219, allocations: 21.33 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.522, allocations: 7.922 kB / 0.9534 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-06/0.522, allocations: 31.44 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.522, allocations: 1.094 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001346/0.5221, allocations: 92.11 kB / 0.9536 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.5221, allocations: 52.78 kB / 0.9536 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.5222, allocations: 133.9 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.5222, allocations: 26.86 kB / 0.9538 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.5223, allocations: 90.38 kB / 0.9539 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.5223, allocations: 12.98 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.5223, allocations: 19.16 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.5224, allocations: 329.2 kB / 0.9542 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.5224, allocations: 37.23 kB / 0.9542 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.5225, allocations: 41.95 kB / 0.9543 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.5226, allocations: 97.84 kB / 0.9544 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5226, allocations: 3.938 kB / 0.9544 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001228/0.5227, allocations: 133.3 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.5227, allocations: 6.031 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5227, allocations: 0 / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5227, allocations: 0 / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.301e-05/0.5228, allocations: 3.156 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5228, allocations: 5.219 kB / 0.9545 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.5228, allocations: 5.234 kB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5228, allocations: 5.25 kB / 0.9545 GB, free: 5.184 MB / 0.7169 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 4.517e-05/0.5229, allocations: 114.5 kB / 0.9546 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.5229, allocations: 6.344 kB / 0.9546 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.523, allocations: 77.39 kB / 0.9547 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.523, allocations: 1.125 kB / 0.9547 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.523, allocations: 0 / 0.9547 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.523, allocations: 4.031 kB / 0.9547 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.814e-05/0.5231, allocations: 183.6 kB / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5231, allocations: 0 / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.5231, allocations: 3.438 kB / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5231, allocations: 0 / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.5231, allocations: 5.125 kB / 0.9549 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.5231, allocations: 0 / 0.9549 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5231, allocations: 0 / 0.9549 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.405e-05/0.5232, allocations: 106.3 kB / 0.955 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.5232, allocations: 83.05 kB / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.5232, allocations: 1.188 kB / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.5233, allocations: 0 / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.5233, allocations: 0.9375 kB / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5233, allocations: 1 kB / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.5233, allocations: 109.7 kB / 0.9552 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5233, allocations: 0 / 0.9552 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002627/0.5236, allocations: 55.39 kB / 0.9552 GB, free: 4.496 MB / 0.7169 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.0004154/0.524, allocations: 0.7002 MB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.5242, allocations: 70.19 kB / 0.956 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.5242, allocations: 5.406 kB / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.5242, allocations: 21.08 kB / 0.956 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5245, allocations: 28.69 kB / 0.956 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.5254, allocations: 1.508 MB / 0.9575 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.015e-05/0.5255, allocations: 0.6948 MB / 0.9582 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.5255, allocations: 19.52 kB / 0.9582 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.5256, allocations: 13.72 kB / 0.9582 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/0.5256, allocations: 0 / 0.9582 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.5437, allocations: 3.366 MB / 0.9615 GB, free: 112 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.74, allocations: 12.72 kB / 0.9615 GB, free: 108 kB / 0.7169 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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