Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.947/2.947, allocations: 0.5003 GB / 0.8026 GB, free: 6.676 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 82.05 kB / 1.165 GB, free: 428 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002302/1.037, allocations: 1.306 MB / 1.341 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001431/1.038, allocations: 0.8825 MB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/1.038, allocations: 1.781 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/1.039, allocations: 17.58 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/1.039, allocations: 6.703 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/1.039, allocations: 191.1 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.593e-05/1.039, allocations: 15.73 kB / 1.343 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/1.039, allocations: 2.734 kB / 1.343 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/1.039, allocations: 17.22 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/1.04, allocations: 5.406 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/1.04, allocations: 0 / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/1.04, allocations: 249 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/1.04, allocations: 18.77 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/1.04, allocations: 14.61 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/1.04, allocations: 216.8 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.04, allocations: 0 / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/1.04, allocations: 0 / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.61e-06/1.04, allocations: 0 / 1.343 GB, free: 14.5 MB / 1.061 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.0003633/1.041, allocations: 393.1 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.041, allocations: 11.55 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.107e-05/1.041, allocations: 4.188 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.785e-05/1.041, allocations: 30.75 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/1.041, allocations: 4.203 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/1.041, allocations: 177.8 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/1.041, allocations: 3.938 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/1.041, allocations: 5.312 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/1.041, allocations: 46.64 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/1.041, allocations: 0.5156 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/1.041, allocations: 0 / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/1.041, allocations: 4 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/1.041, allocations: 36.25 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/1.041, allocations: 177.9 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/1.041, allocations: 51.77 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/1.041, allocations: 24 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/1.041, allocations: 5.531 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/1.041, allocations: 34.56 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/1.041, allocations: 1.375 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/1.042, allocations: 83.42 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/1.042, allocations: 53.58 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.042, allocations: 138.4 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/1.042, allocations: 25.7 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/1.042, allocations: 95.95 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/1.042, allocations: 8.453 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/1.042, allocations: 30.62 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/1.042, allocations: 318.2 kB / 1.345 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/1.042, allocations: 39.59 kB / 1.345 GB, free: 12.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/1.042, allocations: 43.58 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/1.042, allocations: 106.5 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.042, allocations: 1.5 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/1.042, allocations: 122.6 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.042, allocations: 5.359 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.042, allocations: 0 / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.042, allocations: 5.031 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/1.042, allocations: 7.312 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.042, allocations: 5.531 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/1.042, allocations: 8.547 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/1.042, allocations: 1.25 kB / 1.345 GB, free: 12.7 MB / 1.061 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 6.297e-05/1.043, allocations: 118.5 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/1.043, allocations: 10.64 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/1.043, allocations: 73.2 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.043, allocations: 4.031 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.043, allocations: 0 / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.043, allocations: 1.812 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.036e-05/1.043, allocations: 177 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.043, allocations: 0 / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/1.043, allocations: 4.047 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/1.043, allocations: 4.453 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/1.043, allocations: 5 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.043, allocations: 0.5156 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.043, allocations: 1.156 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/1.043, allocations: 96.66 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/1.043, allocations: 82.8 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/1.043, allocations: 1.734 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/1.043, allocations: 0 / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/1.043, allocations: 1.656 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/1.043, allocations: 1.953 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.728e-05/1.043, allocations: 106 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.043, allocations: 0 / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003252/1.043, allocations: 67.11 kB / 1.346 GB, free: 12.04 MB / 1.061 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.0005927/1.044, allocations: 0.7055 MB / 1.346 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000149/1.044, allocations: 64.53 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.044, allocations: 0 / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/1.044, allocations: 16.09 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/1.044, allocations: 34.52 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.046, allocations: 1.522 MB / 1.348 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/1.046, allocations: 0.6919 MB / 1.349 GB, free: 9.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.139e-05/1.046, allocations: 10.98 kB / 1.349 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/1.046, allocations: 15.36 kB / 1.349 GB, free: 9.461 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/1.046, allocations: 0 / 1.349 GB, free: 9.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/1.068, allocations: 3.461 MB / 1.352 GB, free: 8.992 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/9.501, allocations: 12.62 kB / 1.352 GB, free: 8.984 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.92848604201572]