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.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 176.9 kB / 316.3 MB, free: 3.238 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.699/1.699, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008955/0.0008952, allocations: 86.5 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.323e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7896/1.013, allocations: 131.2 MB / 1.013 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.014, allocations: 74.83 kB / 1.013 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002392/1.016, allocations: 0.9471 MB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.016, allocations: 0 / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.471e-06/1.016, allocations: 0 / 1.014 GB, free: 5.66 MB / 0.6355 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.0002765/1.016, allocations: 318.5 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.017, allocations: 12.03 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/1.017, allocations: 7.984 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.017, allocations: 163 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.017, allocations: 0 / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/1.017, allocations: 0 / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.932e-05/1.017, allocations: 15.86 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.155e-05/1.017, allocations: 29.7 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.017, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.017, allocations: 4 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/1.017, allocations: 0 / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/1.017, allocations: 145.9 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1.017, allocations: 30.48 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/1.017, allocations: 8.922 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/1.017, allocations: 0 / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.017, allocations: 38.38 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/1.017, allocations: 0 / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001447/1.018, allocations: 41.78 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.018, allocations: 51.41 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.929e-05/1.018, allocations: 88.94 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.018, allocations: 25.7 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/1.018, allocations: 80.14 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/1.018, allocations: 8.406 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.018, allocations: 0 / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.018, allocations: 318.8 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/1.018, allocations: 0 / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/1.018, allocations: 11.91 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/1.018, allocations: 7.984 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.018, allocations: 0 / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.833e-05/1.018, allocations: 45.52 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.018, allocations: 7.938 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.018, allocations: 5.062 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.018, allocations: 4 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/1.019, allocations: 39.94 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/1.02, allocations: 1.245 MB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/1.02, allocations: 7.938 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/1.02, allocations: 3.75 kB / 1.017 GB, free: 2.656 MB / 0.6355 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 () * 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 7.77e-05/1.02, allocations: 103 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/1.02, allocations: 8.078 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.042e-05/1.02, allocations: 8.125 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/1.02, allocations: 0 / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/1.02, allocations: 1.5 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.02, allocations: 0 / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/1.02, allocations: 130.2 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.02, allocations: 0 / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/1.02, allocations: 51.55 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.02, allocations: 0 / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/1.02, allocations: 0 / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008121/1.021, allocations: 1.252 MB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.021, allocations: 7.984 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/1.021, allocations: 63.94 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/1.021, allocations: 77.11 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-06/1.021, allocations: 8.094 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.676e-05/1.021, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/1.021, allocations: 3.953 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/1.021, allocations: 3.984 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.19e-05/1.021, allocations: 79.28 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.923e-06/1.021, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001785/1.022, allocations: 3.938 kB / 1.019 GB, free: 0.6992 MB / 0.6355 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 () * 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.0001789/1.022, allocations: 99.25 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003629/1.022, allocations: 51.44 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.022, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.022, allocations: 23.97 kB / 1.019 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/1.022, allocations: 7.938 kB / 1.019 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/1.023, allocations: 59.69 kB / 1.019 GB, free: 444 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/1.023, allocations: 0.6729 MB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.752e-05/1.023, allocations: 11.92 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/1.023, allocations: 7.438 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.023, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.00214/1.025, allocations: 373.2 kB / 1.02 GB, free: 15.36 MB / 0.6511 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