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.0007326/0.0007326, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001825, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006928/0.0006928, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008296/0.001522, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.8765/0.8765, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08316/0.9597, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.746/1.746, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4382/2.185, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.603e-05, allocations: 6.906 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003216/0.003242, allocations: 1.373 MB / 0.7307 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.004702, allocations: 0.8638 MB / 0.7316 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.004734, allocations: 4 kB / 0.7316 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.004882, allocations: 16.83 kB / 0.7316 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.004911, allocations: 2.328 kB / 0.7316 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.005528, allocations: 172.2 kB / 0.7317 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.005605, allocations: 15.94 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.005644, allocations: 7.984 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.005702, allocations: 10.86 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.005753, allocations: 4.641 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.005763, allocations: 4.766 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.006324, allocations: 281.8 kB / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.006373, allocations: 15.09 kB / 0.7321 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.006396, allocations: 13.03 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.006779, allocations: 209.2 kB / 0.7323 GB, free: 1.535 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.897e-05/0.006798, allocations: 4 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/0.006799, allocations: 0 / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.006816, allocations: 0 / 0.7323 GB, free: 1.531 MB / 0.698 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.0004218/0.007238, allocations: 297.2 kB / 0.7326 GB, free: 1.219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.007274, allocations: 8.031 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.007312, allocations: 12.92 kB / 0.7326 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.007414, allocations: 117.5 kB / 0.7327 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.007426, allocations: 4.375 kB / 0.7327 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.007433, allocations: 384 / 0.7327 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.007509, allocations: 33.53 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.007516, allocations: 5.062 kB / 0.7327 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.007523, allocations: 4.359 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.00753, allocations: 3.938 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.007549, allocations: 4.828 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.007656, allocations: 70.7 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.007706, allocations: 26.03 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.007723, allocations: 10.73 kB / 0.7329 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.007778, allocations: 4 kB / 0.7329 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.007805, allocations: 38.48 kB / 0.7329 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.007807, allocations: 0 / 0.7329 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001048/0.007912, allocations: 38.75 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.007947, allocations: 51.41 kB / 0.733 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.008049, allocations: 135.2 kB / 0.7331 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.008061, allocations: 26.77 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.008103, allocations: 88.08 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.008121, allocations: 7.953 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.008157, allocations: 18.61 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.00826, allocations: 326.8 kB / 0.7336 GB, free: 92 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.008289, allocations: 11.3 kB / 0.7336 GB, free: 80 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.008302, allocations: 7.938 kB / 0.7336 GB, free: 72 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.008348, allocations: 28.61 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.00835, allocations: 0 / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.784e-05/0.008448, allocations: 54.38 kB / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008461, allocations: 4 kB / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008467, allocations: 1.781 kB / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.008476, allocations: 0 / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.008537, allocations: 7.984 kB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008541, allocations: 0 / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.008564, allocations: 11.88 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.008569, allocations: 1.219 kB / 0.7337 GB, free: 15.96 MB / 0.7136 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.569e-05/0.008635, allocations: 112.6 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.008646, allocations: 6.031 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.008735, allocations: 41.31 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.008737, allocations: 0 / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.008741, allocations: 4 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008744, allocations: 0 / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.192e-05/0.008826, allocations: 82.56 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008828, allocations: 0 / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.008849, allocations: 4 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.008858, allocations: 4.703 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.008861, allocations: 0.75 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.008865, allocations: 0 / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.008867, allocations: 4 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008869, allocations: 1.781 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.965e-05/0.008948, allocations: 70.66 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.008959, allocations: 0 / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/0.00897, allocations: 0 / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.008982, allocations: 9.172 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.008986, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.009018, allocations: 22.39 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009018, allocations: 0.5312 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003041/0.009322, allocations: 60.64 kB / 0.7341 GB, free: 15.49 MB / 0.7136 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.000306/0.009628, allocations: 166 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.009712, allocations: 30.62 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.009718, allocations: 0 / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.009729, allocations: 8.859 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.009937, allocations: 38.66 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.01039, allocations: 150 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.341e-05/0.01043, allocations: 63.34 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01047, allocations: 4.172 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.01056, allocations: 69.17 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.01056, allocations: 0 / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.006084/0.01664, allocations: 2.617 MB / 0.7371 GB, free: 12.48 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.512244049459696]