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.001813/0.001813, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001925/0.001925, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.639/1.639, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.877/2.877, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.218e-05, allocations: 2.938 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00197/0.002003, allocations: 0.6035 MB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.002318, allocations: 87.69 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.002339, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.002352, allocations: 0 / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.002407, allocations: 0.5938 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.002636, allocations: 20.83 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.002693, allocations: 7.984 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.002736, allocations: 1.125 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.002782, allocations: 4 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.00287, allocations: 7.922 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.002886, allocations: 5.406 kB / 0.7872 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.002952, allocations: 11.98 kB / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.00297, allocations: 7.984 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.002985, allocations: 1.062 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.73e-05/0.003082, allocations: 15.92 kB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003084, allocations: 0 / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003085, allocations: 5.562 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003089, allocations: 0 / 0.7872 GB, free: 12 MB / 0.7448 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.0004545/0.003544, allocations: 344.4 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.003587, allocations: 12.03 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.003755, allocations: 10.77 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.003856, allocations: 104.6 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.003878, allocations: 4.375 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003886, allocations: 384 / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.004025, allocations: 48.58 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004034, allocations: 192 / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.004042, allocations: 384 / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.004046, allocations: 384 / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.00412, allocations: 15.92 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.00429, allocations: 116.6 kB / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.004455, allocations: 47.66 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.004495, allocations: 13.41 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.004518, allocations: 8 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.004552, allocations: 37.33 kB / 0.7879 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.004553, allocations: 0 / 0.7879 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002107/0.004763, allocations: 50.41 kB / 0.788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.004809, allocations: 52.22 kB / 0.788 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.004894, allocations: 142.2 kB / 0.7882 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.005033, allocations: 25.7 kB / 0.7882 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.005105, allocations: 132.4 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.005147, allocations: 15.91 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.005188, allocations: 19.38 kB / 0.7883 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002671/0.005455, allocations: 496.1 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.005488, allocations: 10.25 kB / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.005513, allocations: 7.984 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.828e-05/0.005581, allocations: 23.62 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005583, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001159/0.005699, allocations: 45.69 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.005718, allocations: 8.719 kB / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.005722, allocations: 0 / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.005734, allocations: 0.5312 kB / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.005995, allocations: 25.62 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.007684, allocations: 1.816 MB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.007711, allocations: 8 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007717, allocations: 1.375 kB / 0.7907 GB, free: 8.094 MB / 0.7448 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 0.0001199/0.007837, allocations: 152.6 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.007849, allocations: 7.938 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.007867, allocations: 9.281 kB / 0.7909 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007868, allocations: 0 / 0.7909 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.007872, allocations: 4 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.007874, allocations: 0 / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.007985, allocations: 113.2 kB / 0.791 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007986, allocations: 3.938 kB / 0.791 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.008236, allocations: 30.41 kB / 0.791 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008238, allocations: 0 / 0.791 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.00825, allocations: 7.938 kB / 0.791 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.009761, allocations: 1.814 MB / 0.7928 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009763, allocations: 0 / 0.7928 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.009905, allocations: 88.36 kB / 0.7929 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-06/0.009909, allocations: 0 / 0.7929 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-06/0.009915, allocations: 0 / 0.7929 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.009939, allocations: 8.5 kB / 0.7929 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.009961, allocations: 1.938 kB / 0.7929 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.009965, allocations: 0 / 0.7929 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.01003, allocations: 119.2 kB / 0.793 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0 / 0.793 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001824/0.01021, allocations: 4 kB / 0.793 GB, free: 5.562 MB / 0.7448 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.0001465/0.01036, allocations: 100.1 kB / 0.7931 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.01071, allocations: 53.75 kB / 0.7932 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01071, allocations: 4 kB / 0.7932 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.01092, allocations: 38.75 kB / 0.7932 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.01107, allocations: 11.88 kB / 0.7932 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.01142, allocations: 100.3 kB / 0.7933 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.519e-05/0.01149, allocations: 63.23 kB / 0.7934 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.01152, allocations: 6.469 kB / 0.7934 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.01155, allocations: 12.5 kB / 0.7934 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01155, allocations: 0 / 0.7934 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.003209/0.01476, allocations: 478.3 kB / 0.7938 GB, free: 4.676 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] 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: 7.948035637033172]