Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [: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.242/1.242, 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.0009084/0.0009085, allocations: 180.6 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.065/1.065, 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.0008005/0.0008004, allocations: 78.47 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.065e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1557, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.5927, allocations: 132.8 MB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.5929, allocations: 78.89 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008813/0.6017, allocations: 2.89 MB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6018, allocations: 0 / 1.017 GB, free: 3.363 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000346/0.6021, allocations: 431.7 kB / 1.018 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.6022, allocations: 8.031 kB / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.6022, allocations: 7.906 kB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.6023, allocations: 167 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.6023, allocations: 0 / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.6024, allocations: 4 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/0.6025, allocations: 63.39 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.6026, allocations: 103.3 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6026, allocations: 0 / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.6027, allocations: 7.906 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6027, allocations: 0 / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.6028, allocations: 157.2 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.6029, allocations: 82.05 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.603, allocations: 72.02 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-06/0.603, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.6031, allocations: 38.47 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.6031, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002888/0.6034, allocations: 172.1 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.6034, allocations: 77.11 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.6035, allocations: 130.3 kB / 1.019 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.6035, allocations: 25.7 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.6036, allocations: 88.88 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.6036, allocations: 15.31 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.6036, allocations: 4.031 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6037, allocations: 314.2 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.6039, allocations: 106 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.604, allocations: 105.9 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.6041, allocations: 97.75 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6042, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003363/0.6045, allocations: 270.4 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6045, allocations: 4 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6045, allocations: 0 / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6046, allocations: 7.969 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.6046, allocations: 3.984 kB / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.6046, allocations: 4 kB / 1.02 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.6046, allocations: 15.78 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.6047, allocations: 4 kB / 1.02 GB, free: 0.7344 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.686e-05/0.6048, allocations: 134.7 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.6048, allocations: 7.906 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.6048, allocations: 11.56 kB / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6048, allocations: 4 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6048, allocations: 0 / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6048, allocations: 0 / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.6049, allocations: 153.7 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.605, allocations: 0 / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-06/0.605, allocations: 4 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.605, allocations: 3.938 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.605, allocations: 4 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.605, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.605, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002435/0.6052, allocations: 203 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.6053, allocations: 81.02 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.6053, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.6054, allocations: 4 kB / 1.02 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.6054, allocations: 15.45 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.6054, allocations: 0 / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of sort global known variables: time 6.5e-05/0.6055, allocations: 104.7 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002585/0.6058, allocations: 71.97 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002835/0.6061, allocations: 162.8 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.6063, allocations: 250.3 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.6063, allocations: 0 / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.6065, allocations: 106.6 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.464e-05/0.6066, allocations: 4 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.6068, allocations: 157.6 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.6071, allocations: 0.7072 MB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.6072, allocations: 0 / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.00355/0.6107, allocations: 1.686 MB / 1.023 GB, free: 12.82 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches