Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00174/0.00174, allocations: 104.3 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.001988/0.001988, allocations: 188.6 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.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001894/0.001894, allocations: 63.91 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 160.7 MB / 1.213 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002391/0.3155, allocations: 1.277 MB / 1.214 GB, free: 160 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.317, allocations: 0.8663 MB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.317, allocations: 0 / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.3172, allocations: 7.938 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.976e-05/0.3172, allocations: 11.92 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.3178, allocations: 187.5 kB / 1.215 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.3178, allocations: 15.94 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.3179, allocations: 3.984 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.3179, allocations: 11.98 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.318, allocations: 4 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.445e-06/0.318, allocations: 3.938 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.3184, allocations: 239.7 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.3184, allocations: 23.91 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.3185, allocations: 19.88 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.3188, allocations: 223.6 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3188, allocations: 4 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3188, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3188, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 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.0004379/0.3193, allocations: 375 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3193, allocations: 12.02 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.3193, allocations: 34.75 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.3194, allocations: 4.891 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3195, allocations: 172.3 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3195, allocations: 4.375 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.3195, allocations: 4.375 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3196, allocations: 53.75 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3196, allocations: 0 / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3196, allocations: 4 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3197, allocations: 0 / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/0.3197, allocations: 31.98 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.3199, allocations: 177.6 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/0.32, allocations: 50.56 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.32, allocations: 36.77 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.3201, allocations: 4 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3201, allocations: 34.5 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3201, allocations: 0 / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.3203, allocations: 81.67 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3203, allocations: 51.53 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3205, allocations: 153.7 kB / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.3205, allocations: 25.7 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.3205, allocations: 84.14 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3206, allocations: 7.953 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3206, allocations: 21.7 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3207, allocations: 318.8 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.3208, allocations: 43.91 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.3208, allocations: 43.92 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.321, allocations: 104.8 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.321, allocations: 0 / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001518/0.3211, allocations: 137.5 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3211, allocations: 4 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3211, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3211, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.3212, allocations: 4 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3212, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.3212, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3212, allocations: 7.938 kB / 1.218 GB, free: 12.26 MB / 0.9669 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 9.247e-05/0.3213, allocations: 121.8 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3213, allocations: 11.89 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3214, allocations: 69.2 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3215, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3215, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3215, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.3216, allocations: 173.7 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3216, allocations: 0 / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.3216, allocations: 7.938 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.3216, allocations: 4.031 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.3216, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3216, allocations: 4 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3216, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.3217, allocations: 97 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.3218, allocations: 85.05 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3218, allocations: 0 / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.3218, allocations: 8.031 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.3218, allocations: 0 / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3218, allocations: 3.938 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.997e-05/0.3219, allocations: 114.1 kB / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3219, allocations: 0 / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002636/0.3222, allocations: 55.94 kB / 1.218 GB, free: 11.42 MB / 0.9669 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.0007281/0.3229, allocations: 0.7098 MB / 1.219 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.323, allocations: 63.97 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.323, allocations: 0 / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.3231, allocations: 19.98 kB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3233, allocations: 32.08 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.3249, allocations: 1.533 MB / 1.221 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3252, allocations: 0.6924 MB / 1.221 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.3252, allocations: 4 kB / 1.221 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.3253, allocations: 11.44 kB / 1.221 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.3253, allocations: 0 / 1.221 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.3531, allocations: 3.418 MB / 1.225 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.259, allocations: 16.52 kB / 1.225 GB, free: 5.008 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.000587000977248]