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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009653, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009114/0.0009114, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004453, allocations: 16 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.002, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000858/1.003, allocations: 321.4 kB / 1.021 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002967/1.003, allocations: 91.72 kB / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/1.003, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/1.003, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/1.003, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/1.004, allocations: 15.98 kB / 1.021 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.536e-05/1.004, allocations: 7.984 kB / 1.021 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/1.004, allocations: 3.984 kB / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/1.004, allocations: 3.938 kB / 1.021 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/1.004, allocations: 7.984 kB / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/1.004, allocations: 0 / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/1.004, allocations: 15.98 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/1.004, allocations: 0 / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/1.004, allocations: 25.7 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.355e-05/1.004, allocations: 4 kB / 1.021 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/1.004, allocations: 4 kB / 1.021 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.243e-06/1.004, allocations: 0 / 1.021 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.004, allocations: 0 / 1.021 GB, free: 0.6328 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.0004201/1.004, allocations: 319.4 kB / 1.022 GB, free: 280 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.005, allocations: 11.98 kB / 1.022 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/1.005, allocations: 15.92 kB / 1.022 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/1.005, allocations: 159.1 kB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/1.005, allocations: 0 / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/1.005, allocations: 11.92 kB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/1.005, allocations: 45.58 kB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.005, allocations: 4 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.005, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.005, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/1.005, allocations: 11.98 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/1.005, allocations: 153.6 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/1.006, allocations: 50.53 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/1.006, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.006, allocations: 34.56 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.006, allocations: 0 / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002322/1.006, allocations: 57.78 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/1.006, allocations: 51.41 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/1.006, allocations: 93.86 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/1.006, allocations: 25.7 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/1.006, allocations: 84.14 kB / 1.022 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/1.006, allocations: 9.875 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/1.006, allocations: 0 / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.006, allocations: 314.8 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/1.006, allocations: 7.938 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/1.006, allocations: 11.98 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/1.006, allocations: 8 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.006, allocations: 0 / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001208/1.007, allocations: 45.69 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.007, allocations: 8 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.007, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.007, allocations: 7.938 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/1.007, allocations: 39.94 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/1.008, allocations: 1.318 MB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/1.009, allocations: 7.984 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/1.009, allocations: 0 / 1.024 GB, free: 13.41 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 (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 9.295e-05/1.009, allocations: 112 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/1.009, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/1.009, allocations: 7.438 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.009, allocations: 3.953 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.009, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.009, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/1.009, allocations: 157.6 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.009, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/1.009, allocations: 55.86 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/1.009, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/1.009, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/1.011, allocations: 1.313 MB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.011, allocations: 3.938 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/1.011, allocations: 77.39 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/1.011, allocations: 77.11 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-06/1.011, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.959e-05/1.011, allocations: 3.984 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/1.011, allocations: 15.95 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/1.011, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.032e-05/1.011, allocations: 75.28 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.011, allocations: 4 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001996/1.011, allocations: 4 kB / 1.026 GB, free: 11.28 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 (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.0001563/1.011, allocations: 95.25 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004448/1.012, allocations: 71.88 kB / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.012, allocations: 4 kB / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/1.012, allocations: 31.95 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/1.012, allocations: 0 / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/1.013, allocations: 98.97 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/1.013, allocations: 0.677 MB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.815e-05/1.013, allocations: 4 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/1.013, allocations: 7.438 kB / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/1.013, allocations: 0 / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.002563/1.016, allocations: 385.5 kB / 1.027 GB, free: 9.863 MB / 0.7794 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