Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.319/1.319, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 180 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 93.42 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 10.62 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.3777, allocations: 131 MB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.378, allocations: 79.95 kB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002401/0.3804, allocations: 0.9531 MB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.518e-06/0.3804, allocations: 0 / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3804, allocations: 3.938 kB / 1.029 GB, free: 11.73 MB / 0.6823 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.0002691/0.3807, allocations: 323.4 kB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3808, allocations: 12.03 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3809, allocations: 11.89 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.381, allocations: 167 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.381, allocations: 3.938 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3811, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3812, allocations: 45.67 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3812, allocations: 3.984 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3812, allocations: 4 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3812, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.3813, allocations: 11.98 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3815, allocations: 149.6 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3817, allocations: 46.53 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3817, allocations: 8 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3817, allocations: 30.56 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3817, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000205/0.3819, allocations: 53.83 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.382, allocations: 51.41 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.382, allocations: 89 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3821, allocations: 25.7 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.3821, allocations: 84.14 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3821, allocations: 7.906 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-06/0.3821, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3823, allocations: 314.8 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.3823, allocations: 7.984 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.3824, allocations: 8 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.3824, allocations: 11.92 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3824, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001256/0.3825, allocations: 53.64 kB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3826, allocations: 8 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3826, allocations: 3.938 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3826, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.383, allocations: 43.92 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.3842, allocations: 1.314 MB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.3843, allocations: 3.984 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3843, allocations: 0 / 1.032 GB, free: 8.523 MB / 0.6823 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.296e-05/0.3844, allocations: 110.4 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.3844, allocations: 4.281 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/0.3844, allocations: 7.5 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3844, allocations: 8.172 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.3844, allocations: 0 / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3844, allocations: 4 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3845, allocations: 149.7 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3845, allocations: 3.938 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3849, allocations: 51.88 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3849, allocations: 4 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.3849, allocations: 0 / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.386, allocations: 1.31 MB / 1.033 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.386, allocations: 8.031 kB / 1.033 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.3861, allocations: 73.3 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.3861, allocations: 81.06 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-06/0.3861, allocations: 0 / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.3862, allocations: 11.98 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.3862, allocations: 0 / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3862, allocations: 0 / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.447e-05/0.3862, allocations: 75.28 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 0 / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001752/0.3864, allocations: 4 kB / 1.034 GB, free: 6.402 MB / 0.6823 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.0001431/0.3866, allocations: 103.2 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.387, allocations: 55.86 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.387, allocations: 0 / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.3872, allocations: 31.97 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.67e-05/0.3873, allocations: 6.047 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.3875, allocations: 99.16 kB / 1.034 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3878, allocations: 0.677 MB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.3878, allocations: 7.984 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.3879, allocations: 11.44 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.3879, allocations: 0 / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of Templates: time 0.001965/0.3898, allocations: 376 kB / 1.035 GB, free: 4.988 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches