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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 10.82 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.001212/0.001211, allocations: 187.3 kB / 0.4902 GB, free: 2.094 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.763/1.763, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009323/0.0009326, allocations: 96.33 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004701, allocations: 13.97 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3059, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.4991, allocations: 149.3 MB / 1.375 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4994, allocations: 71.95 kB / 1.375 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002586/0.502, allocations: 0.9579 MB / 1.376 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.502, allocations: 0 / 1.376 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.502, allocations: 0 / 1.376 GB, free: 3.129 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.0002687/0.5023, allocations: 320.2 kB / 1.376 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5023, allocations: 8.031 kB / 1.376 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.5025, allocations: 7.984 kB / 1.376 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.5026, allocations: 175 kB / 1.377 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.5026, allocations: 4 kB / 1.377 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-06/0.5027, allocations: 4 kB / 1.377 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.5028, allocations: 33.69 kB / 1.377 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5028, allocations: 3.938 kB / 1.377 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5028, allocations: 0 / 1.377 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5028, allocations: 0 / 1.377 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.5029, allocations: 15.98 kB / 1.377 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.5031, allocations: 161.7 kB / 1.377 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.5033, allocations: 34.56 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.5033, allocations: 4.062 kB / 1.377 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.5033, allocations: 34.56 kB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 4.488e-06/0.5033, allocations: 0 / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/0.5035, allocations: 61.7 kB / 1.377 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.5036, allocations: 55.41 kB / 1.377 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.834e-05/0.5036, allocations: 85 kB / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.5036, allocations: 25.7 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.5037, allocations: 84.08 kB / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.5037, allocations: 3.906 kB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.5037, allocations: 4 kB / 1.377 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.5038, allocations: 314.8 kB / 1.377 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.5039, allocations: 13.53 kB / 1.377 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.5039, allocations: 7.984 kB / 1.377 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.5039, allocations: 4 kB / 1.377 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.504, allocations: 3.953 kB / 1.377 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001128/0.5041, allocations: 53.81 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5041, allocations: 4 kB / 1.378 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5041, allocations: 3.984 kB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5041, allocations: 7.969 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.5045, allocations: 47.94 kB / 1.378 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.5058, allocations: 1.31 MB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.5058, allocations: 4.031 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.5059, allocations: 4.219 kB / 1.379 GB, free: 15.92 MB / 0.8855 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.187e-05/0.5059, allocations: 113.8 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.506, allocations: 3.906 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.506, allocations: 7.5 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.506, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.506, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.506, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.5061, allocations: 161.6 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5061, allocations: 0 / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.5065, allocations: 47.92 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5065, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.5065, allocations: 4 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.5077, allocations: 1.317 MB / 1.38 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5077, allocations: 0 / 1.38 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.5078, allocations: 81.03 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.5079, allocations: 77.11 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.5079, allocations: 7.984 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.553e-05/0.5079, allocations: 0 / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.5079, allocations: 4.188 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.5079, allocations: 4 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.508, allocations: 75.28 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/0.508, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001781/0.5082, allocations: 4 kB / 1.381 GB, free: 13.79 MB / 0.8855 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.0001445/0.5083, allocations: 103.2 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.5087, allocations: 51.92 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5087, allocations: 0 / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.5089, allocations: 39.89 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.52e-05/0.5091, allocations: 4.969 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.5094, allocations: 106.9 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.5096, allocations: 0.677 MB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.5097, allocations: 4 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.5097, allocations: 7.438 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5097, allocations: 0 / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of Templates: time 0.001994/0.5117, allocations: 375.9 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches