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.001473/0.001473, allocations: 106.3 kB / 16.36 MB, free: 6.289 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.001511/0.001511, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.394/1.394, 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.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 61.11 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.241, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002393/0.2435, allocations: 1.276 MB / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2449, allocations: 0.8482 MB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.2449, allocations: 4 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.2451, allocations: 11.88 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.2451, allocations: 7.922 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.2457, allocations: 191.5 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.2458, allocations: 15.98 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.2458, allocations: 3.984 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.2458, allocations: 7.984 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.2459, allocations: 11.94 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.2459, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2463, allocations: 239.6 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.2463, allocations: 19.97 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.2464, allocations: 19.88 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.2467, allocations: 215.5 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2467, allocations: 0 / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2467, allocations: 0 / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2467, allocations: 0 / 0.9539 GB, free: 5.152 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.0003876/0.2471, allocations: 379.2 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2472, allocations: 8.031 kB / 0.9543 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.2472, allocations: 12.92 kB / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2473, allocations: 178.7 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2474, allocations: 384 / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.2474, allocations: 4.125 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.2475, allocations: 53.62 kB / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2475, allocations: 0 / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.2475, allocations: 0 / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2475, allocations: 0 / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.2476, allocations: 31.98 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.2478, allocations: 181.6 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.2478, allocations: 46.56 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.2479, allocations: 28.84 kB / 0.9548 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.2479, allocations: 4 kB / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.248, allocations: 34.5 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.248, allocations: 0 / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.2481, allocations: 93.58 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2482, allocations: 51.41 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2483, allocations: 137.8 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2483, allocations: 25.7 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.2484, allocations: 88.12 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2484, allocations: 7.906 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.2484, allocations: 21.66 kB / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2486, allocations: 322.8 kB / 0.9556 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.2486, allocations: 40.11 kB / 0.9556 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.783e-05/0.2487, allocations: 51.97 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.2488, allocations: 96.75 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2488, allocations: 7.938 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001577/0.249, allocations: 129.5 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.249, allocations: 10.02 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.249, allocations: 0 / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.249, allocations: 0 / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.2491, allocations: 4 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2491, allocations: 0 / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.2491, allocations: 7.906 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2491, allocations: 4 kB / 0.9559 GB, free: 2.914 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 8.533e-05/0.2492, allocations: 119.8 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.2492, allocations: 7.938 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2493, allocations: 77.08 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2493, allocations: 0 / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2494, allocations: 0 / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2494, allocations: 0 / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.2495, allocations: 177.6 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2495, allocations: 4 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.2495, allocations: 3.984 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2495, allocations: 0 / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2495, allocations: 4 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2495, allocations: 0 / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2495, allocations: 0 / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2497, allocations: 96.91 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.2497, allocations: 93.03 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2497, allocations: 0 / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.2497, allocations: 0 / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.2498, allocations: 0 / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.2498, allocations: 0 / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.2498, allocations: 110.2 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2498, allocations: 0 / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002874/0.2501, allocations: 60 kB / 0.9566 GB, free: 2.074 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.0003812/0.2505, allocations: 171.2 kB / 0.9568 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2507, allocations: 71.95 kB / 0.9569 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2507, allocations: 0 / 0.9569 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.2507, allocations: 23.92 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.251, allocations: 49.8 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.2513, allocations: 139.5 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.2516, allocations: 0.6961 MB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.2516, allocations: 7.984 kB / 0.9577 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.2517, allocations: 11.44 kB / 0.9578 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2517, allocations: 0 / 0.9578 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of Templates: time 0.005046/0.2567, allocations: 2.116 MB / 0.9598 GB, free: 14.8 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 cvode -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