Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001123/0.001123, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 184.4 kB / 16.92 MB, free: 6.703 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005144, allocations: 15.98 kB / 0.8167 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7696, allocations: 142.4 MB / 0.9557 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00158/0.7712, allocations: 1.002 MB / 0.9567 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.7727, allocations: 0.8537 MB / 0.9575 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.7728, allocations: 0 / 0.9575 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.773, allocations: 16.86 kB / 0.9576 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.139e-05/0.773, allocations: 6.359 kB / 0.9576 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.7735, allocations: 137.8 kB / 0.9577 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.7736, allocations: 23.98 kB / 0.9577 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.7737, allocations: 6.047 kB / 0.9577 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.7737, allocations: 3.875 kB / 0.9577 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.7738, allocations: 11.23 kB / 0.9577 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.7738, allocations: 1.031 kB / 0.9577 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.7742, allocations: 228.1 kB / 0.958 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.7743, allocations: 22.56 kB / 0.958 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.7743, allocations: 38.98 kB / 0.958 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.7745, allocations: 148.9 kB / 0.9582 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7745, allocations: 0 / 0.9582 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7746, allocations: 0 / 0.9582 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.7746, allocations: 1.844 kB / 0.9582 GB, free: 6.219 MB / 0.7169 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.000329/0.7749, allocations: 377.8 kB / 0.9585 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7749, allocations: 12.97 kB / 0.9585 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.775, allocations: 8.781 kB / 0.9585 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.7751, allocations: 171 kB / 0.9587 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.7751, allocations: 384 / 0.9587 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.7751, allocations: 9.484 kB / 0.9587 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.826e-05/0.7752, allocations: 43.45 kB / 0.9588 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.7752, allocations: 0 / 0.9588 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.7753, allocations: 3.938 kB / 0.9588 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7753, allocations: 0 / 0.9588 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.7753, allocations: 43.28 kB / 0.9588 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.7755, allocations: 174.2 kB / 0.959 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.386e-05/0.7755, allocations: 51.89 kB / 0.959 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.7756, allocations: 29.14 kB / 0.959 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.7756, allocations: 8.016 kB / 0.9591 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.7756, allocations: 31.66 kB / 0.9591 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.7757, allocations: 7.984 kB / 0.9591 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.7758, allocations: 85.39 kB / 0.9592 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.7758, allocations: 51.41 kB / 0.9592 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.776, allocations: 141.4 kB / 0.9594 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.776, allocations: 25.7 kB / 0.9594 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.776, allocations: 94.33 kB / 0.9595 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.776, allocations: 5 kB / 0.9595 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.7761, allocations: 17.91 kB / 0.9595 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.7761, allocations: 316.2 kB / 0.9598 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.7762, allocations: 46 kB / 0.9598 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.7762, allocations: 42.02 kB / 0.9599 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.7763, allocations: 96.38 kB / 0.96 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7763, allocations: 0 / 0.96 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.7765, allocations: 126.7 kB / 0.9601 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.7765, allocations: 6 kB / 0.9601 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7765, allocations: 0 / 0.9601 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.7765, allocations: 0 / 0.9601 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.7766, allocations: 3.719 kB / 0.9601 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.7766, allocations: 4.078 kB / 0.9601 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.7766, allocations: 9.594 kB / 0.9601 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.7766, allocations: 3.984 kB / 0.9601 GB, free: 4.395 MB / 0.7169 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 6.319e-05/0.7767, allocations: 119.6 kB / 0.9602 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.7767, allocations: 13.66 kB / 0.9602 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.679e-05/0.7768, allocations: 77.61 kB / 0.9603 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7768, allocations: 0.9375 kB / 0.9603 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7768, allocations: 0 / 0.9603 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.7768, allocations: 4.969 kB / 0.9603 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.727e-05/0.7769, allocations: 178.2 kB / 0.9605 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7769, allocations: 5.312 kB / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/0.777, allocations: 2.75 kB / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.777, allocations: 0 / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.777, allocations: 1.375 kB / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.777, allocations: 0 / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.777, allocations: 0 / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.211e-05/0.7771, allocations: 95.3 kB / 0.9606 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.7771, allocations: 86.39 kB / 0.9607 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.7771, allocations: 5.312 kB / 0.9607 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.7771, allocations: 0 / 0.9607 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.7772, allocations: 1.375 kB / 0.9607 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.7772, allocations: 0 / 0.9607 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.7772, allocations: 107.8 kB / 0.9608 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7772, allocations: 0 / 0.9608 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002785/0.7775, allocations: 64.09 kB / 0.9608 GB, free: 3.695 MB / 0.7169 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.0003559/0.7779, allocations: 170.5 kB / 0.961 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.778, allocations: 66.72 kB / 0.9611 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.778, allocations: 0 / 0.9611 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.778, allocations: 13.75 kB / 0.9611 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.7783, allocations: 37.72 kB / 0.9611 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.7786, allocations: 196 kB / 0.9613 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.7788, allocations: 0.6915 MB / 0.962 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.7788, allocations: 16.73 kB / 0.962 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7788, allocations: 1.375 kB / 0.962 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.003674/0.7825, allocations: 1.675 MB / 0.9636 GB, free: 1.801 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches