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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_latest_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_latest_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.001841/0.001841, allocations: 108 kB / 15.99 MB, free: 5.895 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.001918/0.001918, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.483/1.483, allocations: 222.9 MB / 240.6 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 482.2 MB / 0.7548 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001899, allocations: 66.16 kB / 0.9238 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 162.2 MB / 1.082 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002629/0.3454, allocations: 1.347 MB / 1.083 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3469, allocations: 0.8533 MB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.347, allocations: 0 / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.3471, allocations: 4 kB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.3472, allocations: 11.92 kB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.3478, allocations: 167.7 kB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.563e-05/0.3479, allocations: 15.98 kB / 1.085 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.348, allocations: 0 / 1.085 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.348, allocations: 11.97 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.348, allocations: 11.94 kB / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-06/0.3481, allocations: 0 / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.3485, allocations: 243.6 kB / 1.085 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.3485, allocations: 15.97 kB / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.3486, allocations: 15.88 kB / 1.085 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.3488, allocations: 155.9 kB / 1.085 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3489, allocations: 0 / 1.085 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3489, allocations: 0 / 1.085 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3489, allocations: 0 / 1.085 GB, free: 10.9 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.0004599/0.3493, allocations: 375.2 kB / 1.085 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3494, allocations: 19.97 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.3494, allocations: 4.844 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3496, allocations: 168.3 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3496, allocations: 384 / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3496, allocations: 4.375 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3497, allocations: 54 kB / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3498, allocations: 4 kB / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3498, allocations: 0 / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3498, allocations: 0 / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.3498, allocations: 31.98 kB / 1.086 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.35, allocations: 181.6 kB / 1.086 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.216e-05/0.3501, allocations: 50.5 kB / 1.086 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.3502, allocations: 24.91 kB / 1.086 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.3502, allocations: 4 kB / 1.086 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3503, allocations: 38.5 kB / 1.086 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3503, allocations: 4 kB / 1.086 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.3505, allocations: 81.58 kB / 1.086 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3505, allocations: 59.34 kB / 1.086 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3506, allocations: 137.8 kB / 1.086 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3507, allocations: 29.69 kB / 1.086 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.3507, allocations: 84.14 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.3508, allocations: 7.906 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3508, allocations: 21.7 kB / 1.086 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.351, allocations: 323 kB / 1.087 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.351, allocations: 43.91 kB / 1.087 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.3511, allocations: 43.98 kB / 1.087 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3512, allocations: 100.8 kB / 1.087 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3512, allocations: 0 / 1.087 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001561/0.3514, allocations: 129.5 kB / 1.087 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3514, allocations: 7.938 kB / 1.087 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3514, allocations: 0 / 1.087 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3514, allocations: 0 / 1.087 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.3515, allocations: 4 kB / 1.087 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3515, allocations: 4 kB / 1.087 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.3515, allocations: 4 kB / 1.087 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3516, allocations: 0 / 1.087 GB, free: 8.676 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 9.871e-05/0.3517, allocations: 113.8 kB / 1.087 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.3517, allocations: 15.84 kB / 1.087 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.3518, allocations: 81.08 kB / 1.087 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3518, allocations: 0 / 1.087 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3518, allocations: 0 / 1.087 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3518, allocations: 4.031 kB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.352, allocations: 185.6 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.352, allocations: 0 / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.352, allocations: 0 / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.352, allocations: 3.938 kB / 1.087 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3521, allocations: 4 kB / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3521, allocations: 0 / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3521, allocations: 0 / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.3522, allocations: 97.02 kB / 1.087 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.3522, allocations: 85.05 kB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3523, allocations: 0 / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.3523, allocations: 4 kB / 1.087 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.3523, allocations: 4.078 kB / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3523, allocations: 0 / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.3524, allocations: 109.8 kB / 1.088 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3524, allocations: 4 kB / 1.088 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002957/0.3527, allocations: 56 kB / 1.088 GB, free: 7.82 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.0004275/0.3531, allocations: 172.5 kB / 1.088 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.3533, allocations: 71.95 kB / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3533, allocations: 0 / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.3533, allocations: 16 kB / 1.088 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3536, allocations: 40.03 kB / 1.088 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.354, allocations: 203 kB / 1.088 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3543, allocations: 0.6923 MB / 1.089 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.3543, allocations: 7.438 kB / 1.089 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3543, allocations: 0 / 1.089 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of Templates: time 0.003923/0.3583, allocations: 1.702 MB / 1.09 GB, free: 4.879 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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