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.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001707/0.001707, allocations: 190.9 kB / 16.14 MB, free: 6.699 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.27/2.27, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5233, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001866/0.5252, allocations: 1.335 MB / 0.9504 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.5262, allocations: 0.8719 MB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.5263, allocations: 0 / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.5264, allocations: 17.42 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.5264, allocations: 1.375 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.5268, allocations: 142.1 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.697e-05/0.5269, allocations: 20.17 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.779e-05/0.5269, allocations: 2.75 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.5269, allocations: 10.72 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/0.527, allocations: 12.06 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.527, allocations: 1.375 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.5273, allocations: 231.5 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.5273, allocations: 15.47 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.5274, allocations: 21.53 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.5276, allocations: 210.9 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5276, allocations: 0 / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5276, allocations: 0 / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.5276, allocations: 1.719 kB / 0.9519 GB, free: 7.012 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.0002467/0.5279, allocations: 381.9 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5279, allocations: 9.094 kB / 0.9523 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.087e-05/0.528, allocations: 30.75 kB / 0.9523 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.528, allocations: 7.656 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.206e-05/0.5281, allocations: 178.3 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-06/0.5281, allocations: 4.375 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.5281, allocations: 4.938 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.452e-05/0.5282, allocations: 51.5 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.5282, allocations: 0 / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.5282, allocations: 3.938 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.5282, allocations: 1.344 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.158e-05/0.5282, allocations: 29.39 kB / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.5284, allocations: 178.4 kB / 0.9527 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.5284, allocations: 55.41 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.5284, allocations: 26 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5285, allocations: 7.859 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.037e-05/0.5285, allocations: 31.88 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.5285, allocations: 0 / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.5286, allocations: 89.36 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.395e-05/0.5286, allocations: 55.53 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.5287, allocations: 139.2 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.5287, allocations: 25.7 kB / 0.9531 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.5288, allocations: 87.11 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.5288, allocations: 7.844 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.5288, allocations: 24.98 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.365e-05/0.5289, allocations: 316.6 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.5289, allocations: 41.69 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.529, allocations: 45.17 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.5291, allocations: 96.41 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5291, allocations: 0 / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001197/0.5292, allocations: 142.3 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.5292, allocations: 5.312 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5292, allocations: 1.5 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.5292, allocations: 0 / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.5293, allocations: 2.844 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.5293, allocations: 0 / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.5293, allocations: 9.406 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.5293, allocations: 5.438 kB / 0.9539 GB, free: 5.137 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.496e-05/0.5294, allocations: 123.5 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.5294, allocations: 9.312 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.675e-05/0.5295, allocations: 74.17 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5295, allocations: 0 / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5295, allocations: 0.9688 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.5295, allocations: 0 / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.625e-05/0.5295, allocations: 178.6 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5296, allocations: 0.9375 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.5296, allocations: 7.156 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.5296, allocations: 0 / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.5296, allocations: 1.062 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5296, allocations: 0 / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5296, allocations: 1.094 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.231e-05/0.5297, allocations: 102.3 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.5297, allocations: 82.36 kB / 0.9544 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.5297, allocations: 5.281 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.5297, allocations: 0 / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.5297, allocations: 1.375 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.5298, allocations: 5.625 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.5298, allocations: 108.5 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.11e-07/0.5298, allocations: 0 / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002587/0.5301, allocations: 59.56 kB / 0.9546 GB, free: 4.441 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.0004163/0.5305, allocations: 0.6929 MB / 0.9553 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.5306, allocations: 66.25 kB / 0.9554 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5306, allocations: 0 / 0.9554 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.5306, allocations: 25.73 kB / 0.9554 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.5309, allocations: 29.97 kB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.5318, allocations: 1.511 MB / 0.9569 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.468e-05/0.5319, allocations: 0.6925 MB / 0.9576 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.5319, allocations: 15.92 kB / 0.9576 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.532, allocations: 20.86 kB / 0.9576 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.532, allocations: 0 / 0.9576 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3581/0.8901, allocations: 3.223 MB / 0.9607 GB, free: 204 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003485/0.8905, allocations: 274.6 kB / 0.961 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.608, allocations: 0 / 0.961 GB, free: 15.89 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