Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 221.5 kB / 23 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.636/1.636, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.359/3.359, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.31 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4419, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003242/0.4451, allocations: 1.3 MB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.4469, allocations: 0.8299 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.4469, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.4472, allocations: 11.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.4472, allocations: 11.94 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.4479, allocations: 190.8 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.448, allocations: 15.92 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.459e-05/0.448, allocations: 4 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.448, allocations: 11.92 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.4481, allocations: 11.98 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.4481, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.4486, allocations: 251.6 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.4487, allocations: 19.91 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.4487, allocations: 11.94 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.4491, allocations: 223.3 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4492, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4492, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.4492, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 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.0005005/0.4497, allocations: 305.9 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4497, allocations: 8.031 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.4497, allocations: 8.891 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4499, allocations: 122.4 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4499, allocations: 4.375 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.4499, allocations: 384 / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.4501, allocations: 57.94 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4501, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4501, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.4501, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.4501, allocations: 31.98 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.4503, allocations: 129.3 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.4504, allocations: 46.56 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.4505, allocations: 24.91 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.4505, allocations: 15.92 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4506, allocations: 38.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4506, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001968/0.4508, allocations: 89.56 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.4508, allocations: 51.41 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.451, allocations: 145.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.451, allocations: 29.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.4511, allocations: 92.09 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.4511, allocations: 4.078 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.4511, allocations: 25.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4513, allocations: 314.8 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.4514, allocations: 39.98 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.4514, allocations: 55.89 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.4516, allocations: 100.8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4516, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001667/0.4517, allocations: 125.6 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4517, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4518, allocations: 7.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4518, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.4518, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4518, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.4518, allocations: 3.953 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.4519, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 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 0.0001075/0.452, allocations: 126.3 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.452, allocations: 3.953 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.4521, allocations: 81.23 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4521, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4521, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4521, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.4523, allocations: 125.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4523, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.4523, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4523, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4523, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.4523, allocations: 7.922 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4523, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4524, allocations: 89.06 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.4524, allocations: 7.891 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4525, allocations: 12 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.4525, allocations: 7.969 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.4525, allocations: 3.984 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.4525, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.021e-05/0.4526, allocations: 105.2 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4526, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002902/0.4529, allocations: 63.86 kB / 1.332 GB, free: 12.29 MB / 1.029 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.0004105/0.4533, allocations: 163.1 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.4534, allocations: 67.91 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4534, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.4535, allocations: 23.98 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4538, allocations: 30.02 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.4541, allocations: 187.1 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.11e-05/0.4542, allocations: 75.33 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.4543, allocations: 15.5 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4543, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of Templates: time 0.004113/0.4584, allocations: 1.717 MB / 1.334 GB, free: 9.98 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.538856180850416]