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.001368/0.001368, allocations: 108 kB / 16.45 MB, free: 6.391 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.001487/0.001487, allocations: 209.7 kB / 19.43 MB, free: 3.73 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7916 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002005/0.002005, allocations: 65.23 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002338/0.3769, allocations: 1.304 MB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3784, allocations: 0.8847 MB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.3784, allocations: 0 / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.3786, allocations: 23.92 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.863e-05/0.3786, allocations: 7.922 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.3792, allocations: 183.5 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.3792, allocations: 12 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.3793, allocations: 7.984 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.3793, allocations: 7.938 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.3794, allocations: 15.94 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.3794, allocations: 0 / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.3798, allocations: 251.6 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.3798, allocations: 15.92 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.3799, allocations: 15.88 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.3802, allocations: 223.5 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3802, allocations: 3.984 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.506e-06/0.3802, allocations: 4 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3802, allocations: 0 / 1.324 GB, free: 388 kB / 1.014 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.0004476/0.3807, allocations: 382.9 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3807, allocations: 19.97 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.3807, allocations: 34.75 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.3808, allocations: 0.9375 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3809, allocations: 172.3 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3809, allocations: 4.375 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.3809, allocations: 4.312 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.381, allocations: 49.81 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.381, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.381, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3811, allocations: 4 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.3811, allocations: 31.98 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.3813, allocations: 173.7 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.575e-05/0.3814, allocations: 46.56 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.3814, allocations: 28.84 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3815, allocations: 4 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3815, allocations: 42.5 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3815, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.3817, allocations: 81.62 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3817, allocations: 55.41 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3818, allocations: 141.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3818, allocations: 25.7 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.3819, allocations: 96.08 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.3819, allocations: 4.078 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3819, allocations: 25.7 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3821, allocations: 318.8 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.3821, allocations: 43.97 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.3822, allocations: 43.98 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.3823, allocations: 96.81 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3823, allocations: 0 / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001706/0.3825, allocations: 129.7 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3825, allocations: 4 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3825, allocations: 4 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3825, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.3825, allocations: 4 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3826, allocations: 11.81 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.3826, allocations: 7.953 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.3826, allocations: 0 / 1.326 GB, free: 14.1 MB / 1.029 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 8.28e-05/0.3827, allocations: 117.8 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.3827, allocations: 11.89 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3828, allocations: 73.2 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3828, allocations: 4.031 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3828, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3828, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3829, allocations: 177.7 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3829, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.383, allocations: 3.938 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.383, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.383, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.383, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.383, allocations: 3.938 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.3831, allocations: 93.11 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.3831, allocations: 92.94 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.3831, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.3831, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.3832, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3832, allocations: 4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.212e-05/0.3832, allocations: 109.8 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3832, allocations: 4.031 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002606/0.3835, allocations: 59.86 kB / 1.326 GB, free: 13.24 MB / 1.029 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.0006638/0.3842, allocations: 0.7 MB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.3843, allocations: 59.97 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3843, allocations: 0 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.3843, allocations: 23.98 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.3846, allocations: 19.92 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.386, allocations: 1.538 MB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3863, allocations: 0.6846 MB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.3864, allocations: 11.98 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.3864, allocations: 19.44 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3864, allocations: 0 / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.4121, allocations: 3.401 MB / 1.333 GB, free: 6.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.755, allocations: 13.42 kB / 1.333 GB, free: 6.859 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.669085261877626]