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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.187/1.187, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.0009829/0.0009828, allocations: 185.2 kB / 316 MB, free: 3.555 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.083/1.083, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0007844/0.0007844, allocations: 89.39 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.687e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1517, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.6152, allocations: 131.2 MB / 1.013 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.6155, allocations: 70.83 kB / 1.013 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002017/0.6175, allocations: 0.6341 MB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.6175, allocations: 3.5 kB / 1.013 GB, free: 7.137 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.0002169/0.6177, allocations: 313.2 kB / 1.014 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.6178, allocations: 8.031 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.6178, allocations: 3.906 kB / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.6179, allocations: 163.1 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6179, allocations: 0 / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.6179, allocations: 0.75 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.537e-05/0.618, allocations: 4 kB / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.681e-05/0.6181, allocations: 41 kB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6181, allocations: 0 / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.6181, allocations: 3.906 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.6181, allocations: 0 / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.6182, allocations: 138.2 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.056e-05/0.6183, allocations: 25.89 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.6183, allocations: 15.86 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.6187, allocations: 409.6 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.6187, allocations: 31.44 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.6187, allocations: 0 / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001495/0.6189, allocations: 44.66 kB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.6189, allocations: 59.34 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.334e-05/0.6189, allocations: 85 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.619, allocations: 29.7 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.619, allocations: 80.14 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.619, allocations: 3.906 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.619, allocations: 0 / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.6191, allocations: 313.9 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.6191, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.6191, allocations: 4 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.6192, allocations: 7.688 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6192, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.734e-05/0.6193, allocations: 45.69 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6193, allocations: 11.89 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.6193, allocations: 3.938 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.6193, allocations: 0 / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6194, allocations: 8 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003164/0.6198, allocations: 0.5855 MB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.6198, allocations: 7.984 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.6198, allocations: 8.031 kB / 1.016 GB, free: 4.43 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 5.587e-05/0.6199, allocations: 101 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.6199, allocations: 4.5 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.62, allocations: 41.22 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.62, allocations: 4 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.62, allocations: 0 / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.62, allocations: 3.906 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.311e-05/0.6201, allocations: 130 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6201, allocations: 9.688 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.6202, allocations: 11.94 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6202, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.6202, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002564/0.6205, allocations: 0.5918 MB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6205, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.975e-05/0.6206, allocations: 68.06 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.6206, allocations: 81.02 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.6206, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.6206, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.6207, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.6207, allocations: 19.75 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.067e-05/0.6207, allocations: 75.28 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001789/0.6209, allocations: 4 kB / 1.017 GB, free: 3.203 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.0001439/0.621, allocations: 111.2 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.6212, allocations: 19.98 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6212, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.6213, allocations: 15.31 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.416e-05/0.6214, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.6215, allocations: 63.77 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.6217, allocations: 0.6876 MB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.6217, allocations: 0 / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of Templates: time 0.002/0.6237, allocations: 0.536 MB / 1.018 GB, free: 1.727 MB / 0.6355 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