Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") [: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.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 6.922 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.0009339/0.0009339, allocations: 169.3 kB / 316 MB, free: 3.527 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.079/1.079, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0007949/0.0007949, allocations: 92.91 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.865e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.155, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.612, allocations: 131.2 MB / 1.013 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.6122, allocations: 71.33 kB / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0009077/0.6131, allocations: 172.6 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6132, allocations: 0 / 1.013 GB, free: 7.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002085/0.6134, allocations: 302.5 kB / 1.013 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.6134, allocations: 8.031 kB / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.6135, allocations: 7.891 kB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.6136, allocations: 159.1 kB / 1.013 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.6136, allocations: 0.625 kB / 1.013 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.6136, allocations: 6.188 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.994e-05/0.6136, allocations: 2.438 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.684e-05/0.6137, allocations: 25.7 kB / 1.013 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.6137, allocations: 3.938 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.6137, allocations: 4 kB / 1.013 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6137, allocations: 4 kB / 1.013 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.6138, allocations: 133.1 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.068e-05/0.6139, allocations: 14.58 kB / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.6139, allocations: 11.58 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.6139, allocations: 0 / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.614, allocations: 30.56 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.614, allocations: 0 / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.6141, allocations: 36.77 kB / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6142, allocations: 59.34 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.95e-05/0.6142, allocations: 85 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.6142, allocations: 29.69 kB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.6143, allocations: 80.14 kB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.6143, allocations: 3.906 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.6143, allocations: 0 / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6144, allocations: 310.8 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-06/0.6144, allocations: 4.031 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.6144, allocations: 4 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.6145, allocations: 0 / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6145, allocations: 0 / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.703e-05/0.6145, allocations: 41.5 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.6146, allocations: 6.5 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.6146, allocations: 0 / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.6146, allocations: 0.75 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.6146, allocations: 4 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.6146, allocations: 4.094 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.6147, allocations: 7.844 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.6147, allocations: 0 / 1.014 GB, free: 5.941 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 (1): * Single equations (assignments): 1 * 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 6.297e-05/0.6147, allocations: 104.9 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.6148, allocations: 7.938 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.6149, allocations: 48.62 kB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6149, allocations: 7.938 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6149, allocations: 4 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6149, allocations: 3.906 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.114e-05/0.615, allocations: 122.2 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.615, allocations: 0 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.615, allocations: 7.984 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.615, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.615, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.615, allocations: 4.031 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.615, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.658e-05/0.6151, allocations: 64.3 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.6152, allocations: 81.09 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.6152, allocations: 0 / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.066e-05/0.6152, allocations: 0 / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-06/0.6152, allocations: 0 / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.6152, allocations: 4 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.009e-05/0.6152, allocations: 79.31 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001803/0.6154, allocations: 4.75 kB / 1.015 GB, free: 5.328 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 (1): * Single equations (assignments): 1 * 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.0001443/0.6156, allocations: 103.2 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.867e-05/0.6156, allocations: 11.3 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6156, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.111e-06/0.6157, allocations: 4 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.087e-05/0.6157, allocations: 3.906 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001272/0.6159, allocations: 52 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.6161, allocations: 0.6841 MB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.6161, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of Templates: time 0.001694/0.6178, allocations: 310.2 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches