Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 106.1 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 196.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437.1 MB / 0.7107 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001986, allocations: 71.89 kB / 0.8694 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6868, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002086/0.6889, allocations: 0.6645 MB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.6892, allocations: 99.72 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.6892, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.6893, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.6893, allocations: 3.938 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.6896, allocations: 15.98 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.485e-05/0.6896, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.6897, allocations: 7.984 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.792e-05/0.6897, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.6898, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.6898, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.6899, allocations: 15.98 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.6899, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.6899, allocations: 11.92 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.591e-05/0.69, allocations: 4 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.69, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.054e-06/0.69, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.69, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.7637 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.0004126/0.6904, allocations: 323.6 kB / 1.019 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6905, allocations: 8.031 kB / 1.019 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.6907, allocations: 16.83 kB / 1.019 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6908, allocations: 164.4 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.6908, allocations: 4.375 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.6908, allocations: 384 / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.691, allocations: 42.19 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.691, allocations: 4.125 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.691, allocations: 3.938 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.691, allocations: 4 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.6911, allocations: 11.98 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.6913, allocations: 153.7 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.6915, allocations: 38.56 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.6916, allocations: 20.84 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.6916, allocations: 3.984 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.6916, allocations: 34.56 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6916, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.000226/0.6919, allocations: 57.61 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.6919, allocations: 51.41 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.692, allocations: 93.8 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.692, allocations: 29.7 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.6921, allocations: 84.14 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.6921, allocations: 9.875 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.6922, allocations: 13.72 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6923, allocations: 314.8 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.6925, allocations: 15.92 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.6925, allocations: 4 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.6926, allocations: 25.11 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6926, allocations: 0 / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001188/0.6927, allocations: 53.67 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6927, allocations: 8 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6928, allocations: 0 / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6928, allocations: 3.938 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.6932, allocations: 39.94 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.6948, allocations: 1.408 MB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.6948, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.6948, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 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.0001093/0.6949, allocations: 121.9 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.6949, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.695, allocations: 7.484 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.695, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.695, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.695, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.6951, allocations: 157.6 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6951, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.6955, allocations: 51.92 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6955, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.6955, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.697, allocations: 1.412 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.697, allocations: 7.922 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.6971, allocations: 77.14 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.6972, allocations: 81.02 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.6972, allocations: 3.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.6972, allocations: 64 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.6973, allocations: 8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.6973, allocations: 7.922 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.6973, allocations: 75.28 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6973, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001927/0.6975, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 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.0001549/0.6977, allocations: 107.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.6982, allocations: 59.86 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6982, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.6986, allocations: 63.91 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.6987, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.6991, allocations: 118.8 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.6995, allocations: 0.6729 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.6995, allocations: 7.438 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.6995, allocations: 4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of Templates: time 0.002284/0.7018, allocations: 0.5895 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches