Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001322/0.001322, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001353/0.001353, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8912/0.8912, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.735/1.735, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_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.744e-06/1.744e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.833e-05, allocations: 6.219 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001584/0.001602, allocations: 1.306 MB / 0.9823 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002649, allocations: 0.8295 MB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.002677, allocations: 8 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.002858, allocations: 11.92 kB / 0.9831 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.16e-05/0.002879, allocations: 0 / 0.9831 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.003315, allocations: 197.5 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.003379, allocations: 11.94 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.003411, allocations: 7.984 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.003446, allocations: 12 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.003484, allocations: 7.969 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.003494, allocations: 4 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.003796, allocations: 251.7 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.003846, allocations: 15.98 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.003864, allocations: 11.94 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.004122, allocations: 263.3 kB / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004124, allocations: 0 / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004126, allocations: 0 / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.00413, allocations: 0 / 0.9839 GB, free: 15.61 MB / 0.948 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.000347/0.004477, allocations: 309.9 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.004515, allocations: 12.03 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.004541, allocations: 30.75 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.004564, allocations: 8.891 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.669e-05/0.004641, allocations: 113.7 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.004651, allocations: 4.375 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.004657, allocations: 384 / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.004747, allocations: 50.25 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.004753, allocations: 192 / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.004761, allocations: 4.125 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.004765, allocations: 8 kB / 0.9844 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.227e-05/0.004807, allocations: 35.92 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.004934, allocations: 144.8 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.004991, allocations: 50.56 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.005016, allocations: 24.91 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.005054, allocations: 4 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.005071, allocations: 34.5 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.005072, allocations: 0 / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001455/0.005217, allocations: 101.6 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.005243, allocations: 55.41 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.005323, allocations: 137.8 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.005331, allocations: 29.64 kB / 0.985 GB, free: 14.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.005368, allocations: 92.12 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.005381, allocations: 3.953 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.005406, allocations: 21.72 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.005474, allocations: 318.8 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.005512, allocations: 43.98 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.005542, allocations: 47.97 kB / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.005609, allocations: 92.83 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005611, allocations: 7.938 kB / 0.9856 GB, free: 13.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.48e-05/0.005705, allocations: 129.6 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.005716, allocations: 4 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.005722, allocations: 80 / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005734, allocations: 3.938 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.005782, allocations: 4 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.005787, allocations: 3.984 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.005801, allocations: 7.938 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-06/0.005805, allocations: 4 kB / 0.9857 GB, free: 13.51 MB / 0.948 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.203e-05/0.005857, allocations: 113.8 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-06/0.005862, allocations: 11.95 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.005945, allocations: 85.17 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.005948, allocations: 3.938 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.005953, allocations: 4 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005955, allocations: 0 / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.141e-05/0.006026, allocations: 144.7 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006027, allocations: 0 / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-06/0.006036, allocations: 4 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006037, allocations: 0 / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.006043, allocations: 3.984 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006045, allocations: 3.938 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006046, allocations: 8.031 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.956e-05/0.006106, allocations: 93.08 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.006113, allocations: 7.953 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.006122, allocations: 3.938 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.006129, allocations: 7.922 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.00614, allocations: 4 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/0.006141, allocations: 0 / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.006181, allocations: 109.5 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006181, allocations: 3.938 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001757/0.006357, allocations: 59.86 kB / 0.9864 GB, free: 12.78 MB / 0.948 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.0004187/0.006776, allocations: 0.7044 MB / 0.987 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.813e-05/0.006874, allocations: 67.91 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006875, allocations: 0 / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.006887, allocations: 16 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.007083, allocations: 38.97 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.008034, allocations: 1.521 MB / 0.9886 GB, free: 10.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.008076, allocations: 75.33 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.008099, allocations: 3.984 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.008128, allocations: 20.5 kB / 0.9887 GB, free: 10.21 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.008128, allocations: 0 / 0.9887 GB, free: 10.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.03511, allocations: 4.155 MB / 0.9928 GB, free: 6.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.155, allocations: 5.188 kB / 0.9928 GB, free: 6.32 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.522904717363417]