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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005671/0.005671, allocations: 100.6 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 189.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.39 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002381/0.2966, allocations: 1.284 MB / 1.243 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2981, allocations: 0.851 MB / 1.244 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.2981, allocations: 0 / 1.244 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.2982, allocations: 4 kB / 1.244 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.2983, allocations: 15.91 kB / 1.244 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.2989, allocations: 183.5 kB / 1.244 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.2989, allocations: 23.91 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 2.867e-05/0.299, allocations: 4 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.299, allocations: 7.984 kB / 1.244 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.299, allocations: 7.938 kB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.2991, allocations: 0 / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.2995, allocations: 243.7 kB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.2996, allocations: 15.98 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.2996, allocations: 15.88 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.2999, allocations: 219.6 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3, allocations: 0 / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3, allocations: 0 / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3, allocations: 0 / 1.244 GB, free: 6.422 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.0004242/0.3004, allocations: 387 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3004, allocations: 8.031 kB / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.3005, allocations: 34.73 kB / 1.245 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.3005, allocations: 8.891 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3007, allocations: 176.3 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.3007, allocations: 8.312 kB / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-06/0.3007, allocations: 384 / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.3008, allocations: 49.81 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3008, allocations: 4 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.3008, allocations: 0 / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3008, allocations: 0 / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.3009, allocations: 27.98 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.3011, allocations: 181.6 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/0.3012, allocations: 58.5 kB / 1.245 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.3012, allocations: 24.91 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3013, allocations: 4 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3013, allocations: 34.5 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3013, allocations: 0 / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.3015, allocations: 85.67 kB / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3015, allocations: 55.53 kB / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3017, allocations: 152.1 kB / 1.246 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3017, allocations: 33.64 kB / 1.246 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.3018, allocations: 84.14 kB / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.3018, allocations: 3.953 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.3018, allocations: 29.69 kB / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.302, allocations: 318.8 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.302, allocations: 39.98 kB / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.3021, allocations: 47.95 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3022, allocations: 100.8 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3022, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001566/0.3024, allocations: 133.5 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3024, allocations: 4 kB / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3024, allocations: 0 / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3024, allocations: 0 / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.3025, allocations: 7.938 kB / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3025, allocations: 0 / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.3025, allocations: 0 / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3025, allocations: 4 kB / 1.246 GB, free: 4.129 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.191e-05/0.3026, allocations: 119.9 kB / 1.246 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.3027, allocations: 11.89 kB / 1.246 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3028, allocations: 73.2 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3028, allocations: 0 / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3028, allocations: 0 / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3028, allocations: 0 / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.3029, allocations: 169.7 kB / 1.247 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.303, allocations: 3.984 kB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.303, allocations: 15.91 kB / 1.247 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.303, allocations: 3.938 kB / 1.247 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.303, allocations: 0 / 1.247 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.303, allocations: 0 / 1.247 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.303, allocations: 4 kB / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.3031, allocations: 89.08 kB / 1.247 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3032, allocations: 89.03 kB / 1.247 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3032, allocations: 4 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.3032, allocations: 4.031 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.3032, allocations: 0 / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.3032, allocations: 0 / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.134e-05/0.3033, allocations: 107.2 kB / 1.247 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3033, allocations: 0 / 1.247 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002692/0.3036, allocations: 59.88 kB / 1.247 GB, free: 3.285 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.000678/0.3043, allocations: 0.7097 MB / 1.248 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3044, allocations: 67.97 kB / 1.248 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3045, allocations: 0 / 1.248 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.3045, allocations: 27.92 kB / 1.248 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3048, allocations: 30.17 kB / 1.248 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3063, allocations: 1.509 MB / 1.249 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3066, allocations: 0.6884 MB / 1.25 GB, free: 124 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.3067, allocations: 7.906 kB / 1.25 GB, free: 116 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.3067, allocations: 24.98 kB / 1.25 GB, free: 92 kB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3067, allocations: 0 / 1.25 GB, free: 92 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.3311, allocations: 3.404 MB / 1.253 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.169, allocations: 12.56 kB / 1.253 GB, free: 12.9 MB / 0.9825 GB (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 400 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches