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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008826/0.0008826, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004907/0.004907, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6072, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001109/0.6084, allocations: 0.9965 MB / 0.9562 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.6096, allocations: 0.8581 MB / 0.957 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.6096, allocations: 0 / 0.957 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.6098, allocations: 13.08 kB / 0.957 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.329e-05/0.6098, allocations: 1.875 kB / 0.957 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.6102, allocations: 145.8 kB / 0.9572 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.6103, allocations: 12.86 kB / 0.9572 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.6103, allocations: 9.938 kB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.6103, allocations: 11.55 kB / 0.9572 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.6104, allocations: 3.656 kB / 0.9572 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.6104, allocations: 4.938 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.6107, allocations: 232.6 kB / 0.9574 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.6108, allocations: 10.95 kB / 0.9574 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.6108, allocations: 46.64 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.6111, allocations: 219.2 kB / 0.9577 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6111, allocations: 0 / 0.9577 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6111, allocations: 0 / 0.9577 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.6111, allocations: 4 kB / 0.9577 GB, free: 5.77 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.0002549/0.6114, allocations: 375.9 kB / 0.9581 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6114, allocations: 8.688 kB / 0.9581 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.157e-05/0.6114, allocations: 31.78 kB / 0.9581 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.6115, allocations: 7.25 kB / 0.9581 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.6115, allocations: 171.6 kB / 0.9583 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.6116, allocations: 5.438 kB / 0.9583 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.6116, allocations: 5.125 kB / 0.9583 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.598e-05/0.6117, allocations: 50.78 kB / 0.9583 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.6117, allocations: 4 kB / 0.9583 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.6117, allocations: 0 / 0.9583 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6117, allocations: 1.312 kB / 0.9583 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.6117, allocations: 29.67 kB / 0.9584 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.6119, allocations: 174.1 kB / 0.9585 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.6119, allocations: 55.88 kB / 0.9586 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.612, allocations: 25.97 kB / 0.9586 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.612, allocations: 8.562 kB / 0.9586 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.612, allocations: 30.56 kB / 0.9586 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.612, allocations: 0 / 0.9586 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.6122, allocations: 85.08 kB / 0.9587 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.6122, allocations: 53.12 kB / 0.9588 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.6123, allocations: 137.6 kB / 0.9589 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.6123, allocations: 25.7 kB / 0.9589 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.6123, allocations: 95.31 kB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.6124, allocations: 5.531 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.6124, allocations: 24.55 kB / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.6124, allocations: 312.4 kB / 0.9593 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.6125, allocations: 49.09 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.6125, allocations: 43.05 kB / 0.9594 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.6126, allocations: 95.53 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6126, allocations: 1.812 kB / 0.9595 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001135/0.6127, allocations: 125 kB / 0.9596 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.6128, allocations: 9.5 kB / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6128, allocations: 0 / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.6128, allocations: 1.375 kB / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.6128, allocations: 2.75 kB / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6128, allocations: 3.938 kB / 0.9597 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.6129, allocations: 5.312 kB / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.6129, allocations: 5.312 kB / 0.9597 GB, free: 3.918 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 5.084e-05/0.6129, allocations: 123.3 kB / 0.9598 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.6129, allocations: 5.281 kB / 0.9598 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.613, allocations: 82.08 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6131, allocations: 5.453 kB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6131, allocations: 0 / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.6131, allocations: 0 / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.238e-05/0.6131, allocations: 179.5 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6132, allocations: 0 / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.6132, allocations: 2.75 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.6132, allocations: 0 / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.6132, allocations: 1.375 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6132, allocations: 7.938 kB / 0.9601 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6132, allocations: 5.406 kB / 0.9601 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.02e-05/0.6133, allocations: 93.92 kB / 0.9602 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.6133, allocations: 82.39 kB / 0.9602 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.6133, allocations: 1.375 kB / 0.9602 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.6133, allocations: 0 / 0.9602 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.6133, allocations: 1.375 kB / 0.9602 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.6133, allocations: 1.375 kB / 0.9602 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.018e-05/0.6134, allocations: 112 kB / 0.9603 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6134, allocations: 0 / 0.9603 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002456/0.6137, allocations: 52.12 kB / 0.9604 GB, free: 3.227 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.0004303/0.6141, allocations: 0.7152 MB / 0.9611 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.6142, allocations: 66.72 kB / 0.9612 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6142, allocations: 0 / 0.9612 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.6142, allocations: 17.73 kB / 0.9612 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.6145, allocations: 26.86 kB / 0.9612 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.6155, allocations: 1.531 MB / 0.9627 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.6156, allocations: 0.6878 MB / 0.9634 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.6157, allocations: 3.312 kB / 0.9634 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.6157, allocations: 19.8 kB / 0.9634 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6157, allocations: 0 / 0.9634 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5431/1.159, allocations: 3.139 MB / 0.9664 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/1.159, allocations: 270.5 kB / 0.9667 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.502, allocations: 0 / 0.9667 GB, free: 14.77 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