Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001433/0.001433, 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.001647/0.001647, allocations: 210.5 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.766 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.337/3.337, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.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.002115/0.002115, allocations: 69.95 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3938, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002815/0.3966, allocations: 1.468 MB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.3969, allocations: 83.75 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.397, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.397, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.397, allocations: 3.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3973, allocations: 23.91 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/0.3973, allocations: 23.92 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3974, allocations: 4 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.3975, allocations: 15.92 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.3975, allocations: 11.98 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3975, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.735e-05/0.3976, allocations: 23.98 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.3976, allocations: 3.938 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.3976, allocations: 7.938 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3978, allocations: 35.89 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3978, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3978, allocations: 3.938 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.3978, allocations: 0 / 1.366 GB, free: 11.85 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.0004763/0.3983, allocations: 274.2 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3983, allocations: 8.031 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.3984, allocations: 12.92 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3986, allocations: 118.5 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3986, allocations: 384 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3986, allocations: 4.375 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3988, allocations: 54.23 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3988, allocations: 4.125 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3988, allocations: 3.938 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3988, allocations: 4 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.399, allocations: 51.94 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.3994, allocations: 200.6 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3996, allocations: 50.55 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3997, allocations: 28.89 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.3997, allocations: 7.938 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3998, allocations: 38.5 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3998, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004282/0.4002, allocations: 97.62 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4002, allocations: 55.41 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.4003, allocations: 105.8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4004, allocations: 25.83 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.4004, allocations: 88.14 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.4004, allocations: 7.891 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.4005, allocations: 13.72 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4006, allocations: 318.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4007, allocations: 19.98 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4008, allocations: 27.91 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.401, allocations: 56.88 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.401, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002673/0.4013, allocations: 85.53 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4013, allocations: 8 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4013, allocations: 0 / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4013, allocations: 0 / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4015, allocations: 20 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.4015, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.4015, allocations: 7.938 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4015, allocations: 3.984 kB / 1.367 GB, free: 9.91 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 (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 prepare postOptimizeDAE: time 8.422e-05/0.4016, allocations: 109.8 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.4016, allocations: 11.88 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.4017, allocations: 3.625 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4017, allocations: 7.938 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4017, allocations: 256 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4017, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.4018, allocations: 113.3 kB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4018, allocations: 0 / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.4019, allocations: 11.98 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4019, allocations: 3.938 kB / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4019, allocations: 4 kB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4019, allocations: 0 / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4019, allocations: 0 / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.4022, allocations: 179.5 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.4022, allocations: 7.891 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.4023, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.4023, allocations: 11.98 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.4024, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.4024, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.4024, allocations: 91.2 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4024, allocations: 0 / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002206/0.4027, allocations: 8 kB / 1.368 GB, free: 9.293 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 (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.0001185/0.4028, allocations: 95.28 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.403, allocations: 47.95 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.403, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4032, allocations: 27.97 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.4034, allocations: 4 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.4038, allocations: 125.5 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.229e-05/0.4039, allocations: 59.34 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.151e-05/0.4039, allocations: 4 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.4039, allocations: 7.438 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4039, allocations: 0 / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of Templates: time 0.003114/0.407, allocations: 0.667 MB / 1.369 GB, free: 8.219 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.89569578692317]