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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001681/0.001681, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.00165/0.00165, allocations: 187 kB / 17.34 MB, free: 5.742 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9275/0.9298, allocations: 140.4 MB / 1.089 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002266/0.9321, allocations: 1.284 MB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.9334, allocations: 0.8401 MB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.9335, allocations: 0 / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.9337, allocations: 14.95 kB / 1.091 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.9337, allocations: 10.62 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.9344, allocations: 184.7 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.9345, allocations: 19.61 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.9345, allocations: 2.422 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.9346, allocations: 9.641 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.9346, allocations: 8.562 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.9346, allocations: 5.125 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.9351, allocations: 248.8 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.9352, allocations: 13.97 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.9352, allocations: 17.64 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.9356, allocations: 212.8 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9356, allocations: 0.6094 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9356, allocations: 0 / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9356, allocations: 0 / 1.091 GB, free: 4.098 MB / 0.8575 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.0003328/0.9359, allocations: 378.1 kB / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.936, allocations: 13.31 kB / 1.092 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.936, allocations: 11.75 kB / 1.092 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.9361, allocations: 170.7 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.9361, allocations: 1.25 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.9362, allocations: 6.156 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.358e-05/0.9362, allocations: 44.97 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.9363, allocations: 0.9688 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.9363, allocations: 3.938 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9363, allocations: 1.797 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.9363, allocations: 34.31 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.9365, allocations: 181.9 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.9366, allocations: 56.39 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.9366, allocations: 24.09 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.9367, allocations: 4.766 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.9367, allocations: 31.94 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9367, allocations: 0.7812 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000172/0.9369, allocations: 88.58 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.9369, allocations: 52 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.937, allocations: 140 kB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.937, allocations: 26.3 kB / 1.093 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.9371, allocations: 92.3 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.9371, allocations: 13.5 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.9371, allocations: 17.91 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.9372, allocations: 322.7 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.9373, allocations: 42.84 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/0.9373, allocations: 43.28 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.9374, allocations: 95.44 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9374, allocations: 0.8125 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001507/0.9376, allocations: 129.6 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9376, allocations: 7.141 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9376, allocations: 0 / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9377, allocations: 0.9688 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.9377, allocations: 4.25 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9377, allocations: 4.609 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.9378, allocations: 4.875 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.9378, allocations: 1.75 kB / 1.093 GB, free: 2.367 MB / 0.8575 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 5.691e-05/0.9378, allocations: 126.5 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.9378, allocations: 2 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.938, allocations: 76.97 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.938, allocations: 4.781 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.938, allocations: 3.938 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.938, allocations: 5.391 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.9381, allocations: 181 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9381, allocations: 0 / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.9381, allocations: 4.344 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9381, allocations: 0.7812 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.9381, allocations: 0 / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9381, allocations: 1.062 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9382, allocations: 0.6094 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.383e-05/0.9382, allocations: 100.8 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.9383, allocations: 83.19 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.9383, allocations: 2.047 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.9383, allocations: 0 / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.9383, allocations: 1.984 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.9383, allocations: 0.75 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.9384, allocations: 108.3 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.81e-07/0.9384, allocations: 0.75 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003414/0.9387, allocations: 62.08 kB / 1.094 GB, free: 1.703 MB / 0.8575 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.0003958/0.9391, allocations: 171.2 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.9393, allocations: 66.2 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9393, allocations: 4 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.9393, allocations: 20.67 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.9396, allocations: 36.06 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.9399, allocations: 186.8 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.9401, allocations: 0.691 MB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.9401, allocations: 9.75 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of SimCode: time 6.82e-07/0.9401, allocations: 0.9062 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of Templates: time 0.004247/0.9443, allocations: 1.709 MB / 1.097 GB, free: 0.5391 MB / 0.8575 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