Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001707/0.001707, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002107/0.002107, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.396/3.396, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002154/0.002154, allocations: 67.28 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001884/0.3911, allocations: 0.5992 MB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.3915, allocations: 92.14 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.3915, allocations: 0 / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.3915, allocations: 0 / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.782e-05/0.3916, allocations: 0 / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3918, allocations: 23.91 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.3918, allocations: 12 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.3919, allocations: 7.984 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.3919, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.392, allocations: 7.938 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.392, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.3921, allocations: 15.98 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3921, allocations: 0 / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.3921, allocations: 0 / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3922, allocations: 19.91 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3922, allocations: 3.938 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3922, allocations: 0 / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3922, allocations: 4 kB / 1.365 GB, free: 12.8 MB / 1.061 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.0003864/0.3926, allocations: 248 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3926, allocations: 8.031 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.3928, allocations: 8.922 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.993e-05/0.3929, allocations: 110.4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.3929, allocations: 4.375 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3929, allocations: 4.375 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3931, allocations: 34.25 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.3931, allocations: 192 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3931, allocations: 11.92 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3931, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.3932, allocations: 11.98 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.3933, allocations: 101.3 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3935, allocations: 42.55 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.3935, allocations: 12.91 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3936, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3936, allocations: 30.56 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3936, allocations: 4 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002265/0.3938, allocations: 61.61 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3939, allocations: 51.41 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.3939, allocations: 93.86 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3939, allocations: 29.64 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.394, allocations: 80.14 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.394, allocations: 3.953 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.394, allocations: 21.7 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3942, allocations: 310.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.3942, allocations: 8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.3942, allocations: 11.98 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.3943, allocations: 25.11 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3943, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001187/0.3945, allocations: 53.64 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3945, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3945, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3945, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.3949, allocations: 55.8 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.3963, allocations: 1.278 MB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.3963, allocations: 3.938 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3963, allocations: 0 / 1.367 GB, free: 9.828 MB / 1.061 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.163e-05/0.3964, allocations: 117.8 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.3964, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.3964, allocations: 15.45 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3964, allocations: 4.094 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.3964, allocations: 0 / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3964, allocations: 4 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.335e-05/0.3965, allocations: 93.33 kB / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3965, allocations: 3.938 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.3969, allocations: 51.92 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3969, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3969, allocations: 4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.3981, allocations: 1.274 MB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3981, allocations: 3.984 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3982, allocations: 81.08 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-06/0.3982, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-06/0.3982, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.546e-05/0.3983, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.3983, allocations: 3.984 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3983, allocations: 0 / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.3983, allocations: 79.31 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3983, allocations: 8 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000196/0.3985, allocations: 4 kB / 1.369 GB, free: 7.926 MB / 1.061 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.0001384/0.3986, allocations: 101.2 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.3991, allocations: 63.91 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3991, allocations: 0 / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.3993, allocations: 35.95 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.3995, allocations: 0 / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.3998, allocations: 92.91 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.3999, allocations: 63.23 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.3999, allocations: 11.94 kB / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.4, allocations: 11.42 kB / 1.369 GB, free: 7.496 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4, allocations: 0 / 1.369 GB, free: 7.496 MB / 1.061 GB Notification: Performance of Templates: time 0.002827/0.4028, allocations: 456.5 kB / 1.37 GB, free: 7.066 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.95555017516017]