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.001721/0.001721, allocations: 108 kB / 16.37 MB, free: 6.477 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.00202/0.002021, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.207/2.207, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.73 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2565, allocations: 140.4 MB / 0.9512 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002238/0.2588, allocations: 1.28 MB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2601, allocations: 0.8521 MB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.2601, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.2603, allocations: 19.91 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.467e-05/0.2603, allocations: 4 kB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.2609, allocations: 187.5 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.2609, allocations: 15.94 kB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.023e-05/0.261, allocations: 3.984 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.261, allocations: 4 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.261, allocations: 11.94 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.156e-06/0.261, allocations: 0 / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.2614, allocations: 243.6 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.2615, allocations: 15.98 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.2615, allocations: 11.88 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.2618, allocations: 227.4 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2618, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2618, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2618, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7325 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.0003616/0.2622, allocations: 383.2 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2622, allocations: 12.03 kB / 0.9543 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2623, allocations: 4.938 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2624, allocations: 168.3 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2624, allocations: 384 / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-06/0.2624, allocations: 4.125 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.2625, allocations: 45.69 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2625, allocations: 4 kB / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.2626, allocations: 0 / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2626, allocations: 0 / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.2626, allocations: 31.92 kB / 0.9546 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.2628, allocations: 189.6 kB / 0.9548 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/0.2629, allocations: 50.5 kB / 0.9548 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.2629, allocations: 28.84 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.2629, allocations: 4 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.263, allocations: 30.56 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.263, allocations: 4 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.2631, allocations: 93.52 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.2632, allocations: 51.41 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2633, allocations: 140.1 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2633, allocations: 29.7 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.2633, allocations: 88.12 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.2634, allocations: 3.906 kB / 0.9553 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.2634, allocations: 25.7 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.2635, allocations: 315 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.2635, allocations: 47.97 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.2636, allocations: 39.98 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.2637, allocations: 100.8 kB / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2637, allocations: 0 / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001338/0.2638, allocations: 129.6 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2639, allocations: 4 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2639, allocations: 0 / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2639, allocations: 3.984 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.555e-05/0.2639, allocations: 4 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2639, allocations: 4 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.264, allocations: 7.906 kB / 0.9559 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.264, allocations: 4 kB / 0.9559 GB, free: 2.902 MB / 0.7325 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.601e-05/0.264, allocations: 115.8 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.2641, allocations: 3.938 kB / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.2642, allocations: 85.08 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2642, allocations: 0 / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2642, allocations: 0 / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2642, allocations: 4.031 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2643, allocations: 181.6 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2643, allocations: 0 / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.2644, allocations: 4 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2644, allocations: 0 / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2644, allocations: 7.938 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2644, allocations: 0 / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2644, allocations: 4 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.35e-05/0.2645, allocations: 104.9 kB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.2645, allocations: 81.02 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2645, allocations: 4 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.2646, allocations: 0 / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-06/0.2646, allocations: 3.938 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.2646, allocations: 0 / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.2646, allocations: 110.3 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2647, allocations: 0 / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002614/0.2649, allocations: 56 kB / 0.9566 GB, free: 2.051 MB / 0.7325 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.0003041/0.2652, allocations: 171.2 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.2654, allocations: 67.97 kB / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2654, allocations: 0 / 0.9569 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.2654, allocations: 23.92 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2657, allocations: 37.86 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.2659, allocations: 141.6 kB / 0.9571 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2662, allocations: 0.6922 MB / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.607e-05/0.2662, allocations: 7.984 kB / 0.9577 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.2662, allocations: 11.44 kB / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2662, allocations: 0 / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of Templates: time 0.004534/0.2707, allocations: 2.129 MB / 0.9598 GB, free: 14.78 MB / 0.7481 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 -s gbode -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