Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.981/1.981, allocations: 387.2 MB / 394.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 188.6 kB / 487 MB, free: 5.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 90.48 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.676e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7037/0.9658, allocations: 149.3 MB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.9662, allocations: 78.34 kB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00995/0.9761, allocations: 2.915 MB / 1.354 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.9762, allocations: 0.8125 kB / 1.354 GB, free: 15.64 MB / 0.8073 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.0003487/0.9765, allocations: 432 kB / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9766, allocations: 8.781 kB / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.9766, allocations: 11.88 kB / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.9767, allocations: 172.1 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.9768, allocations: 1.125 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.9768, allocations: 2.875 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001713/0.977, allocations: 62.45 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.9771, allocations: 101.5 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.9771, allocations: 8.844 kB / 1.355 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.9772, allocations: 0.8125 kB / 1.355 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.9772, allocations: 0 / 1.355 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.9773, allocations: 157.6 kB / 1.355 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.9774, allocations: 83.19 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.9776, allocations: 66.91 kB / 1.355 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.9776, allocations: 0 / 1.355 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.9776, allocations: 42.8 kB / 1.355 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.9776, allocations: 0 / 1.355 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0003694/0.978, allocations: 161.2 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.978, allocations: 84.03 kB / 1.355 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.9781, allocations: 131.5 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.9782, allocations: 27.33 kB / 1.355 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.9782, allocations: 88.09 kB / 1.355 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.9782, allocations: 14.95 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.9782, allocations: 5.844 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.9783, allocations: 319.2 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.9785, allocations: 100.3 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.9786, allocations: 101.3 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.9789, allocations: 103 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9789, allocations: 0 / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004405/0.9793, allocations: 260.9 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.9793, allocations: 7.75 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9793, allocations: 0.8438 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9794, allocations: 4.062 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.9794, allocations: 1.031 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.9794, allocations: 0 / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.9795, allocations: 14.94 kB / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.9795, allocations: 4.594 kB / 1.356 GB, free: 13.99 MB / 0.8073 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 8.041e-05/0.9796, allocations: 142.6 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.9796, allocations: 7.438 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.9796, allocations: 6.422 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9796, allocations: 9.188 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9796, allocations: 0 / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9797, allocations: 0 / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.171e-05/0.9797, allocations: 151 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.9797, allocations: 1.031 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-06/0.9798, allocations: 1.375 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9798, allocations: 1.547 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.9798, allocations: 3.344 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9798, allocations: 3.938 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9798, allocations: 3.906 kB / 1.357 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002932/0.9801, allocations: 205.6 kB / 1.357 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.9801, allocations: 82.61 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.9802, allocations: 4 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.9802, allocations: 5.453 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.9803, allocations: 9.047 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.9803, allocations: 5.562 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.219e-05/0.9804, allocations: 105.1 kB / 1.357 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003319/0.9807, allocations: 71.03 kB / 1.357 GB, free: 13.41 MB / 0.8073 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.0003399/0.981, allocations: 165.7 kB / 1.357 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.9814, allocations: 246 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9814, allocations: 0 / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.9816, allocations: 113.1 kB / 1.358 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.9817, allocations: 8.438 kB / 1.358 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.982, allocations: 152.2 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.9823, allocations: 0.7094 MB / 1.359 GB, free: 28.42 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.9823, allocations: 0 / 1.359 GB, free: 28.42 MB / 0.823 GB Notification: Performance of Templates: time 0.004814/0.9871, allocations: 1.692 MB / 1.36 GB, free: 28.29 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches