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.000839/0.000839, 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.0008896/0.0008896, allocations: 165.9 kB / 22.46 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.8971/0.8971, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.767/1.767, allocations: 389 MB / 0.633 GB, free: 12.71 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.653e-06/1.653e-06, allocations: 3.938 kB / 0.9997 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.766e-05, allocations: 6.281 kB / 0.9997 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001541/0.001559, allocations: 1.287 MB / 1.001 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.002581, allocations: 0.8498 MB / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.002605, allocations: 0 / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.002775, allocations: 11.92 kB / 1.002 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 2.248e-05/0.002797, allocations: 4 kB / 1.002 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.003234, allocations: 190.6 kB / 1.002 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.348e-05/0.003298, allocations: 31.91 kB / 1.002 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 2.809e-05/0.003326, allocations: 0 / 1.002 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.00336, allocations: 7.984 kB / 1.002 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.003397, allocations: 11.98 kB / 1.002 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.003407, allocations: 0 / 1.002 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.003695, allocations: 255.5 kB / 1.002 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.003739, allocations: 15.98 kB / 1.002 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.003757, allocations: 11.92 kB / 1.002 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.004028, allocations: 263.3 kB / 1.003 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00403, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004031, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004035, allocations: 4 kB / 1.003 GB, free: 9.422 MB / 0.9167 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.0002969/0.004332, allocations: 301.9 kB / 1.003 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004366, allocations: 9.344 kB / 1.003 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.004393, allocations: 30.75 kB / 1.003 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.099e-05/0.004414, allocations: 8.891 kB / 1.003 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.676e-05/0.004491, allocations: 120.3 kB / 1.003 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.0045, allocations: 384 / 1.003 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.004508, allocations: 4.375 kB / 1.003 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.004593, allocations: 49.62 kB / 1.003 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.004599, allocations: 0 / 1.003 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.004605, allocations: 4 kB / 1.003 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.004609, allocations: 0 / 1.003 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.004652, allocations: 35.92 kB / 1.003 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.004781, allocations: 152.8 kB / 1.003 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.004835, allocations: 46.56 kB / 1.003 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.004861, allocations: 28.91 kB / 1.003 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.004898, allocations: 7.938 kB / 1.003 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.004914, allocations: 30.56 kB / 1.003 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004915, allocations: 0 / 1.003 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/0.005051, allocations: 93.56 kB / 1.003 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/0.005282, allocations: 55.41 kB / 1.003 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.005365, allocations: 141.8 kB / 1.004 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.005374, allocations: 25.7 kB / 1.004 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.00541, allocations: 92.12 kB / 1.004 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.005423, allocations: 7.953 kB / 1.004 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.005447, allocations: 17.66 kB / 1.004 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.005519, allocations: 322.8 kB / 1.004 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.005558, allocations: 43.98 kB / 1.004 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.005586, allocations: 39.97 kB / 1.004 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/0.005659, allocations: 104.9 kB / 1.004 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00566, allocations: 4 kB / 1.004 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.458e-05/0.005755, allocations: 141.6 kB / 1.004 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.005767, allocations: 11.98 kB / 1.004 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.005773, allocations: 0 / 1.004 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.005782, allocations: 0 / 1.004 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.005827, allocations: 4 kB / 1.004 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005831, allocations: 0 / 1.004 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.005843, allocations: 3.938 kB / 1.004 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.005847, allocations: 0 / 1.004 GB, free: 7.332 MB / 0.9167 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.644e-05/0.005903, allocations: 121.8 kB / 1.005 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.005909, allocations: 11.89 kB / 1.005 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.005987, allocations: 77.19 kB / 1.005 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.00599, allocations: 3.984 kB / 1.005 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005993, allocations: 0 / 1.005 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005996, allocations: 0 / 1.005 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.771e-05/0.006073, allocations: 144.8 kB / 1.005 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006074, allocations: 0 / 1.005 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.006084, allocations: 7.938 kB / 1.005 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006085, allocations: 0 / 1.005 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.006089, allocations: 0 / 1.005 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.006091, allocations: 8.016 kB / 1.005 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.006092, allocations: 0 / 1.005 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.052e-05/0.006152, allocations: 97.08 kB / 1.005 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.006161, allocations: 11.89 kB / 1.005 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.006169, allocations: 0 / 1.005 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-06/0.006174, allocations: 3.938 kB / 1.005 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.006186, allocations: 3.984 kB / 1.005 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.006187, allocations: 3.938 kB / 1.005 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.006229, allocations: 105.8 kB / 1.005 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006229, allocations: 4 kB / 1.005 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001742/0.006403, allocations: 63.86 kB / 1.005 GB, free: 6.598 MB / 0.9167 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.0003981/0.006801, allocations: 0.7077 MB / 1.006 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.887e-05/0.0069, allocations: 71.89 kB / 1.006 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.006902, allocations: 0 / 1.006 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.006914, allocations: 16 kB / 1.006 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.007095, allocations: 32 kB / 1.006 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.008002, allocations: 1.527 MB / 1.007 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.008046, allocations: 75.27 kB / 1.007 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.865e-05/0.008065, allocations: 4 kB / 1.007 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.008092, allocations: 20.48 kB / 1.007 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.008093, allocations: 0 / 1.007 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.02421, allocations: 4.152 MB / 1.012 GB, free: 112 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.666, allocations: 8 kB / 1.012 GB, free: 104 kB / 0.9167 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.904256172478199]