Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.664/2.664, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.89 kB / 1.104 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002352/1.047, allocations: 1.295 MB / 1.27 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00132/1.049, allocations: 0.856 MB / 1.271 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/1.049, allocations: 4.625 kB / 1.271 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/1.049, allocations: 10.84 kB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/1.049, allocations: 10.16 kB / 1.271 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/1.05, allocations: 185.4 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.201e-05/1.05, allocations: 15.14 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/1.05, allocations: 2.797 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/1.05, allocations: 8.547 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/1.05, allocations: 14.45 kB / 1.271 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/1.05, allocations: 0.75 kB / 1.271 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/1.05, allocations: 248.5 kB / 1.271 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/1.05, allocations: 14.86 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/1.051, allocations: 18.44 kB / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/1.051, allocations: 219.1 kB / 1.272 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.051, allocations: 0.7812 kB / 1.272 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.051, allocations: 0 / 1.272 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.051, allocations: 0.875 kB / 1.272 GB, free: 6.035 MB / 0.9981 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.0003337/1.051, allocations: 386.2 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.051, allocations: 9 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/1.051, allocations: 31.69 kB / 1.272 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/1.051, allocations: 7.531 kB / 1.272 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/1.051, allocations: 180 kB / 1.272 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/1.051, allocations: 1.062 kB / 1.272 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/1.051, allocations: 1.766 kB / 1.272 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/1.052, allocations: 49.91 kB / 1.272 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.052, allocations: 0 / 1.272 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/1.052, allocations: 1.719 kB / 1.272 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/1.052, allocations: 7.938 kB / 1.272 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/1.052, allocations: 31.34 kB / 1.272 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/1.052, allocations: 173.9 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/1.052, allocations: 51.45 kB / 1.272 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/1.052, allocations: 24.12 kB / 1.272 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/1.052, allocations: 5.438 kB / 1.273 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/1.052, allocations: 40.19 kB / 1.273 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/1.052, allocations: 0 / 1.273 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001764/1.052, allocations: 88.19 kB / 1.273 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/1.052, allocations: 52.22 kB / 1.273 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/1.052, allocations: 140.1 kB / 1.273 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/1.052, allocations: 26.73 kB / 1.273 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/1.052, allocations: 91.88 kB / 1.273 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/1.052, allocations: 5.812 kB / 1.273 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/1.052, allocations: 24.47 kB / 1.273 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/1.052, allocations: 319.3 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/1.052, allocations: 39.44 kB / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/1.052, allocations: 47.56 kB / 1.273 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/1.053, allocations: 99.3 kB / 1.273 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.053, allocations: 0 / 1.273 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000152/1.053, allocations: 131.2 kB / 1.274 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.053, allocations: 4.875 kB / 1.274 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.053, allocations: 0.9375 kB / 1.274 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.053, allocations: 8.922 kB / 1.274 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/1.053, allocations: 7.562 kB / 1.274 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/1.053, allocations: 0 / 1.274 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/1.053, allocations: 5.781 kB / 1.274 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/1.053, allocations: 2.125 kB / 1.274 GB, free: 4.254 MB / 0.9981 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.399e-05/1.053, allocations: 114.9 kB / 1.274 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/1.053, allocations: 10.7 kB / 1.274 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/1.053, allocations: 72.14 kB / 1.274 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.053, allocations: 5.031 kB / 1.274 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.053, allocations: 0 / 1.274 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.053, allocations: 1.547 kB / 1.274 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.429e-05/1.053, allocations: 178.3 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.053, allocations: 0 / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/1.053, allocations: 11.31 kB / 1.274 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/1.053, allocations: 0 / 1.274 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/1.053, allocations: 0.9062 kB / 1.274 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.053, allocations: 0.8906 kB / 1.274 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.053, allocations: 0.9688 kB / 1.274 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.444e-05/1.053, allocations: 97.94 kB / 1.274 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/1.053, allocations: 90.03 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/1.053, allocations: 1.094 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/1.053, allocations: 5.062 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/1.053, allocations: 8.406 kB / 1.274 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/1.053, allocations: 0 / 1.274 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.925e-05/1.053, allocations: 108.4 kB / 1.274 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.053, allocations: 4.031 kB / 1.274 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003321/1.054, allocations: 56.09 kB / 1.274 GB, free: 3.59 MB / 0.9981 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.0005195/1.054, allocations: 0.7041 MB / 1.275 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000148/1.054, allocations: 61.36 kB / 1.275 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.054, allocations: 0.6562 kB / 1.275 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/1.054, allocations: 26.05 kB / 1.275 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/1.055, allocations: 22.28 kB / 1.275 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/1.056, allocations: 1.524 MB / 1.277 GB, free: 17.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/1.056, allocations: 0.6897 MB / 1.277 GB, free: 17.03 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.288e-05/1.056, allocations: 9.484 kB / 1.277 GB, free: 17.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/1.056, allocations: 13.81 kB / 1.277 GB, free: 17.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.056, allocations: 192 / 1.277 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/1.087, allocations: 3.425 MB / 1.281 GB, free: 16.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.95, allocations: 10.2 kB / 1.281 GB, free: 16.54 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.886031071189791]