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.001321/0.001321, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001309/0.001309, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9632/0.9632, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.775/1.775, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.652e-05, allocations: 12.75 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001776/0.001793, allocations: 1.287 MB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002993, allocations: 0.8381 MB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.003024, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.003243, allocations: 11.92 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.416e-05/0.003277, allocations: 11.94 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.003796, allocations: 194.1 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.00386, allocations: 19.88 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.003898, allocations: 3.984 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.003939, allocations: 11.94 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.003979, allocations: 11.97 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.00399, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.004296, allocations: 251.6 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.004347, allocations: 19.92 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.004366, allocations: 8 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.004643, allocations: 263.4 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004645, allocations: 4 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004646, allocations: 0 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.00465, allocations: 3.938 kB / 1.003 GB, free: 10.5 MB / 0.9636 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.0004214/0.005072, allocations: 305.8 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.005112, allocations: 9.344 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.005139, allocations: 30.75 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.005164, allocations: 12.89 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.005254, allocations: 113.7 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.005264, allocations: 384 / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.005272, allocations: 384 / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.005363, allocations: 57.62 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005371, allocations: 4 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.005377, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.005381, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.005425, allocations: 31.98 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.005559, allocations: 148.8 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.407e-05/0.005623, allocations: 50.5 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.005649, allocations: 24.91 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.005697, allocations: 7.938 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.005718, allocations: 38.56 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.005719, allocations: 0 / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.005878, allocations: 85.56 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.005911, allocations: 59.41 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.005998, allocations: 136.3 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.006008, allocations: 25.7 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.006054, allocations: 96.12 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.00607, allocations: 3.953 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.006099, allocations: 17.7 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.006187, allocations: 318.8 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.006232, allocations: 48.11 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.006264, allocations: 43.97 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/0.006344, allocations: 100.9 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006347, allocations: 0 / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.006455, allocations: 141.4 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.006471, allocations: 9.562 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.006478, allocations: 0 / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.006491, allocations: 0 / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.00655, allocations: 4 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.006555, allocations: 3.938 kB / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.006567, allocations: 3.938 kB / 1.004 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.006572, allocations: 4 kB / 1.004 GB, free: 8.414 MB / 0.9636 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.76e-05/0.00664, allocations: 121.8 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.006645, allocations: 7.891 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.006744, allocations: 81.23 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.006746, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.006751, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006754, allocations: 3.938 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.456e-05/0.006839, allocations: 144.8 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.00684, allocations: 0 / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-05/0.006853, allocations: 7.938 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006856, allocations: 8.016 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.006862, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006862, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006863, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.106e-05/0.006935, allocations: 93.08 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.006944, allocations: 15.97 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006956, allocations: 3.984 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.006963, allocations: 4 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.006975, allocations: 0 / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.006977, allocations: 4 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001943/0.007172, allocations: 107.3 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007172, allocations: 0 / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001882/0.00736, allocations: 67.84 kB / 1.005 GB, free: 7.676 MB / 0.9636 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.0004217/0.007781, allocations: 0.702 MB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.007884, allocations: 63.97 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007885, allocations: 32 / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.007901, allocations: 31.92 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.008102, allocations: 19.92 kB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.009032, allocations: 1.534 MB / 1.007 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.00908, allocations: 75.28 kB / 1.007 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.009104, allocations: 7.984 kB / 1.007 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.009131, allocations: 16.56 kB / 1.007 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.009132, allocations: 0 / 1.007 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.02621, allocations: 4.156 MB / 1.012 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.258, allocations: 4.062 kB / 1.012 GB, free: 1.184 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.593920977786183]