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.001131/0.001131, 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.001131/0.001131, allocations: 194.6 kB / 16.25 MB, free: 6.633 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.14 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5076, allocations: 140.4 MB / 0.9493 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001895/0.5095, allocations: 1.339 MB / 0.9506 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009871/0.5105, allocations: 0.8453 MB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.5106, allocations: 0 / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.5107, allocations: 16.78 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.361e-05/0.5107, allocations: 6 kB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.5112, allocations: 168 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.5113, allocations: 17.75 kB / 0.9516 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.601e-05/0.5113, allocations: 1.5 kB / 0.9516 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.5113, allocations: 11.16 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.5114, allocations: 4.312 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.5114, allocations: 3.938 kB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.5117, allocations: 244.9 kB / 0.9518 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.5117, allocations: 9.797 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.5118, allocations: 18.44 kB / 0.9519 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.512, allocations: 218.9 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.512, allocations: 3.984 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5121, allocations: 1.125 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.5121, allocations: 0 / 0.9521 GB, free: 6.961 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.0002672/0.5123, allocations: 380.1 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.5124, allocations: 12.98 kB / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.789e-05/0.5124, allocations: 32 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.5124, allocations: 7.031 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.324e-05/0.5125, allocations: 173.7 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5125, allocations: 5.562 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.5125, allocations: 4.875 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.915e-05/0.5126, allocations: 46.53 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.5126, allocations: 3.938 kB / 0.9527 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.5126, allocations: 5.25 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.5126, allocations: 0 / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.5127, allocations: 29.86 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.5128, allocations: 175.1 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.823e-05/0.5129, allocations: 58.91 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.5129, allocations: 22.22 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.5129, allocations: 3.25 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.513, allocations: 43.66 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.513, allocations: 0 / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001325/0.5131, allocations: 81.48 kB / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.636e-05/0.5131, allocations: 52.72 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.5132, allocations: 137.7 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.5132, allocations: 25.7 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.5132, allocations: 91.7 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.5133, allocations: 13.69 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.5133, allocations: 22.16 kB / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.5133, allocations: 317.7 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.5134, allocations: 48.91 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.5134, allocations: 42.7 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.5135, allocations: 95.62 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5135, allocations: 1.406 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.5136, allocations: 129.2 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5137, allocations: 7.312 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5137, allocations: 4 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.5137, allocations: 1.438 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.5137, allocations: 2.938 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.5137, allocations: 0 / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.5138, allocations: 1.594 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.5138, allocations: 5.531 kB / 0.9541 GB, free: 5.102 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.679e-05/0.5138, allocations: 127.1 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.5138, allocations: 6.062 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.5139, allocations: 78.02 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5139, allocations: 0 / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.514, allocations: 0 / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.514, allocations: 1.531 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.563e-05/0.514, allocations: 177.7 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.514, allocations: 0 / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.5141, allocations: 3.531 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5141, allocations: 0 / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.5141, allocations: 1.125 kB / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.5141, allocations: 0 / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5141, allocations: 5 kB / 0.9545 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.194e-05/0.5142, allocations: 114.2 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.5142, allocations: 83.7 kB / 0.9546 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.5142, allocations: 0 / 0.9546 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.5142, allocations: 4 kB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.5142, allocations: 1.344 kB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5142, allocations: 1.438 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.5143, allocations: 104.8 kB / 0.9548 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5143, allocations: 4 kB / 0.9548 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002575/0.5145, allocations: 55.44 kB / 0.9548 GB, free: 4.398 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.0004149/0.515, allocations: 0.7084 MB / 0.9555 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.5151, allocations: 70.48 kB / 0.9556 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5151, allocations: 0 / 0.9556 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.5151, allocations: 17.48 kB / 0.9556 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.5154, allocations: 22.28 kB / 0.9556 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.5163, allocations: 1.528 MB / 0.9571 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.883e-05/0.5164, allocations: 0.6939 MB / 0.9578 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.5165, allocations: 7.688 kB / 0.9578 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.5165, allocations: 17.78 kB / 0.9578 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5165, allocations: 3.938 kB / 0.9578 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/0.7372, allocations: 3.277 MB / 0.961 GB, free: 136 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.7375, allocations: 274.1 kB / 0.9613 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.612, allocations: 5.156 kB / 0.9613 GB, free: 15.81 MB / 0.7325 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