Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 106 kB / 15.99 MB, free: 6.352 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.001646/0.001646, allocations: 193 kB / 16.91 MB, free: 6.184 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 69.98 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3755, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003123/0.3787, allocations: 1.337 MB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3804, allocations: 0.8611 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.3805, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3807, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.014e-05/0.3807, allocations: 3.938 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007951/0.3815, allocations: 174.6 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.3816, allocations: 19.98 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.3817, allocations: 0 / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.3817, allocations: 11.92 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.3818, allocations: 11.92 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.3818, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.3823, allocations: 239.7 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.3823, allocations: 15.92 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.3824, allocations: 15.92 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3827, allocations: 151.9 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/0.3827, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3827, allocations: 3.938 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3827, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 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.0005058/0.3833, allocations: 375.2 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3833, allocations: 8.031 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.3834, allocations: 8.844 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.3836, allocations: 168.4 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3836, allocations: 384 / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3836, allocations: 4.375 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3837, allocations: 58 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3837, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3838, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3838, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.65e-05/0.3838, allocations: 31.98 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.3841, allocations: 181.5 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.3842, allocations: 50.5 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.3842, allocations: 28.91 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.3843, allocations: 4 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3843, allocations: 34.5 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.3843, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002/0.3845, allocations: 85.61 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3846, allocations: 51.41 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3847, allocations: 143.8 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3848, allocations: 33.81 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.3848, allocations: 88.12 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3849, allocations: 7.906 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.3849, allocations: 25.64 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3851, allocations: 318.8 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.3851, allocations: 39.92 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.3852, allocations: 47.97 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3853, allocations: 88.83 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3853, allocations: 8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001711/0.3855, allocations: 129.6 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3855, allocations: 7.938 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3855, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3856, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.3856, allocations: 4 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3856, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.3857, allocations: 3.906 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3857, allocations: 4 kB / 1.069 GB, free: 10 MB / 0.8419 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 0.0001028/0.3858, allocations: 122.5 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3858, allocations: 7.938 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.3859, allocations: 85.08 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.386, allocations: 3.984 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.386, allocations: 0 / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.386, allocations: 0 / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3861, allocations: 173.7 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3861, allocations: 4 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.3862, allocations: 7.984 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3862, allocations: 3.938 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3862, allocations: 8.031 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3862, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3862, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.3863, allocations: 85.12 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.3864, allocations: 92.94 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.3864, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.3864, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.3864, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.3864, allocations: 4.031 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.3865, allocations: 112.7 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3865, allocations: 0 / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003234/0.3869, allocations: 56 kB / 1.07 GB, free: 9.152 MB / 0.8419 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.0004709/0.3874, allocations: 167.1 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.3875, allocations: 71.97 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3876, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.3876, allocations: 19.98 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3879, allocations: 35.97 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.3883, allocations: 199.1 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3886, allocations: 0.6885 MB / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.3886, allocations: 7.438 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3886, allocations: 0 / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of Templates: time 0.004293/0.3929, allocations: 1.695 MB / 1.072 GB, free: 6.223 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches