Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") [: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.191/1.191, allocations: 249.4 MB / 256.7 MB, free: 6.883 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.001029/0.001029, allocations: 188.4 kB / 316 MB, free: 3.594 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.072/1.072, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.0008058/0.0008058, allocations: 98.44 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/9.158e-06, allocations: 4 kB / 0.7807 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1626, allocations: 106.3 MB / 0.8846 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4388/0.6015, allocations: 131.9 MB / 1.013 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.6017, allocations: 74.14 kB / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002805/0.6045, allocations: 0.7802 MB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6046, allocations: 0 / 1.014 GB, free: 6.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003925/0.605, allocations: 377.5 kB / 1.015 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.605, allocations: 8.031 kB / 1.015 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.605, allocations: 7.906 kB / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.6052, allocations: 174.9 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.6052, allocations: 0 / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.6052, allocations: 4 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.997e-05/0.6053, allocations: 34.55 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.6054, allocations: 61.05 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6054, allocations: 4.734 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6054, allocations: 0 / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.6055, allocations: 3.906 kB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.6059, allocations: 296.1 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.79e-05/0.606, allocations: 50.25 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.6061, allocations: 31.41 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.6063, allocations: 101.1 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.6063, allocations: 30.56 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.6063, allocations: 11.94 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002359/0.6065, allocations: 77.06 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.6066, allocations: 51.41 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.6067, allocations: 114.5 kB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.6067, allocations: 25.7 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.6067, allocations: 90.75 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.6067, allocations: 7.406 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.6068, allocations: 0 / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.6068, allocations: 314.8 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.6069, allocations: 22.86 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.6069, allocations: 11.81 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.607, allocations: 34 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.607, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000141/0.6072, allocations: 79.66 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/0.6072, allocations: 4 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6072, allocations: 0 / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6072, allocations: 3.906 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.6073, allocations: 27.98 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.6074, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.6075, allocations: 27.97 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.6075, allocations: 0 / 1.016 GB, free: 4.277 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.6075, allocations: 105 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.6076, allocations: 3.906 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.6078, allocations: 94.89 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6078, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.6078, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6078, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.6079, allocations: 160 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6079, allocations: 7.938 kB / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.6081, allocations: 19.98 kB / 1.017 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6081, allocations: 0 / 1.017 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.6081, allocations: 4 kB / 1.017 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6081, allocations: 0.625 kB / 1.017 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6081, allocations: 4 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001687/0.6083, allocations: 177.1 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.6083, allocations: 84.95 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.6083, allocations: 7.984 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.6085, allocations: 19.98 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.6085, allocations: 0 / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.6085, allocations: 7.906 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.145e-05/0.6086, allocations: 104 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002018/0.6088, allocations: 12 kB / 1.017 GB, free: 3.434 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.6089, allocations: 107.2 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.609, allocations: 33.81 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.609, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.609, allocations: 15.12 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.6092, allocations: 10.98 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.6094, allocations: 94.5 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.6097, allocations: 0.6993 MB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.6097, allocations: 0 / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of Templates: time 0.002371/0.6121, allocations: 0.74 MB / 1.019 GB, free: 1.719 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches