Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.001563/0.001563, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002292/0.002292, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.948/2.948, allocations: 475.9 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [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.002198/0.002198, allocations: 66.02 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3396, allocations: 169.9 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002191/0.3418, allocations: 0.6023 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.3422, allocations: 83.73 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.3422, allocations: 4 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.3423, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.3423, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.3426, allocations: 19.91 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.3427, allocations: 4 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.126e-05/0.3427, allocations: 7.984 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.3427, allocations: 4 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.3428, allocations: 11.94 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3428, allocations: 0 / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.3429, allocations: 11.98 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.3429, allocations: 0 / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.343, allocations: 0 / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3431, allocations: 19.91 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3431, allocations: 4 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3431, allocations: 0 / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.3431, allocations: 0 / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004018/0.3435, allocations: 246.5 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3435, allocations: 12.03 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.3437, allocations: 12.86 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.3438, allocations: 106.5 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.3438, allocations: 4.375 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3438, allocations: 4.359 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.344, allocations: 46.17 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.344, allocations: 192 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.344, allocations: 3.938 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.344, allocations: 8 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.3441, allocations: 7.984 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.3443, allocations: 101.3 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3445, allocations: 50.69 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.3445, allocations: 16.8 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3445, allocations: 0 / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3446, allocations: 30.56 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3446, allocations: 0 / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000244/0.3448, allocations: 61.61 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3449, allocations: 51.41 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.3449, allocations: 89.86 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3449, allocations: 33.7 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.345, allocations: 80.14 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.345, allocations: 7.906 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.3451, allocations: 17.7 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3452, allocations: 314.8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.3452, allocations: 7.938 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.3453, allocations: 11.98 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.3454, allocations: 24.84 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3454, allocations: 0 / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001188/0.3455, allocations: 49.69 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3455, allocations: 4 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3455, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3455, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.3459, allocations: 51.86 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.3474, allocations: 1.282 MB / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.3474, allocations: 0 / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3474, allocations: 0 / 1.286 GB, free: 8.051 MB / 0.9825 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: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.3475, allocations: 117.8 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3475, allocations: 3.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.3475, allocations: 7.516 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3475, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3475, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3475, allocations: 8.031 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.847e-05/0.3476, allocations: 101.3 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3476, allocations: 3.938 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.348, allocations: 47.92 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.348, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.348, allocations: 4 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.3493, allocations: 1.282 MB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3493, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.3494, allocations: 81.08 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-06/0.3494, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.3494, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.3494, allocations: 4 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3495, allocations: 7.922 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3495, allocations: 0 / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.3495, allocations: 79.22 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3495, allocations: 0 / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001953/0.3497, allocations: 4 kB / 1.288 GB, free: 6.148 MB / 0.9825 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.3498, allocations: 102.2 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004982/0.3503, allocations: 71.83 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3503, allocations: 0 / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.3506, allocations: 43.95 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.3507, allocations: 4.078 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.3511, allocations: 88.91 kB / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.3512, allocations: 63.3 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.3512, allocations: 7.984 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.3512, allocations: 7.438 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.3512, allocations: 4 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of Templates: time 0.00307/0.3543, allocations: 448.5 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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: 9.111322607845068]