Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001526, allocations: 173.2 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.2 MB / 0.7949 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.000942, allocations: 96.34 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8.625 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3079, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.5043, allocations: 148.5 MB / 1.368 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5047, allocations: 79.94 kB / 1.368 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002504/0.5072, allocations: 0.9564 MB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5072, allocations: 0 / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5072, allocations: 0 / 1.369 GB, free: 12.41 MB / 0.8698 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.0002951/0.5075, allocations: 327.3 kB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5076, allocations: 12.03 kB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.5077, allocations: 11.98 kB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.5078, allocations: 163 kB / 1.369 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.5079, allocations: 0 / 1.369 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.5079, allocations: 0 / 1.369 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.508, allocations: 45.67 kB / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.508, allocations: 0 / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.508, allocations: 0 / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5081, allocations: 3.938 kB / 1.369 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.5081, allocations: 11.98 kB / 1.369 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.5083, allocations: 157.6 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.5085, allocations: 46.53 kB / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.5085, allocations: 0 / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.5085, allocations: 30.56 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5085, allocations: 4.062 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002205/0.5088, allocations: 57.7 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.5088, allocations: 51.41 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.66e-05/0.5088, allocations: 89 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.5089, allocations: 25.7 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.5089, allocations: 80.14 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.5089, allocations: 15.75 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5089, allocations: 0 / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5091, allocations: 310.8 kB / 1.37 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.5091, allocations: 11.98 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.5091, allocations: 8 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.5092, allocations: 8.266 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5092, allocations: 3.953 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.5093, allocations: 49.67 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5093, allocations: 8 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.5094, allocations: 0 / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5094, allocations: 0 / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.5097, allocations: 51.86 kB / 1.37 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.511, allocations: 1.31 MB / 1.372 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.511, allocations: 8.234 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.511, allocations: 0 / 1.372 GB, free: 9.195 MB / 0.8698 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/0.5111, allocations: 117.8 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.5111, allocations: 0 / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/0.5112, allocations: 7.5 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5112, allocations: 0 / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5112, allocations: 4 kB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5112, allocations: 0 / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.5113, allocations: 157.5 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5113, allocations: 4 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.5116, allocations: 47.92 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5116, allocations: 0 / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5117, allocations: 0 / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.5127, allocations: 1.317 MB / 1.373 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5127, allocations: 4.031 kB / 1.373 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.5129, allocations: 77.09 kB / 1.373 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.5129, allocations: 77.11 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-06/0.5129, allocations: 3.938 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.978e-05/0.513, allocations: 12.17 kB / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.513, allocations: 4 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.513, allocations: 0 / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.513, allocations: 79.22 kB / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.563e-06/0.513, allocations: 0 / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001794/0.5132, allocations: 7.938 kB / 1.374 GB, free: 7.059 MB / 0.8698 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.5134, allocations: 104.1 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.5138, allocations: 55.92 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5138, allocations: 0 / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.514, allocations: 27.97 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.36e-05/0.5141, allocations: 3.984 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.5144, allocations: 102.9 kB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.5147, allocations: 0.6731 MB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.5147, allocations: 3.984 kB / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.5148, allocations: 11.44 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/0.5148, allocations: 0 / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.002108/0.5169, allocations: 376.9 kB / 1.375 GB, free: 5.652 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches