Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [: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.966/1.966, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001056/0.001056, allocations: 181.3 kB / 487 MB, free: 5.336 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.298/1.298, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.001034/0.001034, allocations: 94.88 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.766e-06/8.797e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2512, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6941/0.9454, allocations: 148.1 MB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.9457, allocations: 76.41 kB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003618/0.9493, allocations: 0.9483 MB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.9493, allocations: 0 / 1.351 GB, free: 15.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000271/0.9496, allocations: 356 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.9496, allocations: 8.25 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.9497, allocations: 10.06 kB / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.9498, allocations: 176.8 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.9498, allocations: 1.344 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.9499, allocations: 1.312 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.794e-05/0.95, allocations: 17.64 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.95, allocations: 42.67 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.9501, allocations: 7.938 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.9501, allocations: 0 / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.9501, allocations: 1.219 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.9503, allocations: 304.2 kB / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/0.9504, allocations: 39.42 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.9505, allocations: 11.36 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.9505, allocations: 2.719 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.9505, allocations: 42.66 kB / 1.352 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.9505, allocations: 0 / 1.352 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.01849/0.969, allocations: 1.261 MB / 1.353 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.9691, allocations: 55.97 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.9692, allocations: 106.9 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.9692, allocations: 29.7 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.9693, allocations: 89.83 kB / 1.353 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.9694, allocations: 21.61 kB / 1.353 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.9694, allocations: 0.7812 kB / 1.353 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.9695, allocations: 318.1 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.9699, allocations: 112.3 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.9702, allocations: 113.6 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.971, allocations: 172.2 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.971, allocations: 0 / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00139/0.9724, allocations: 342.2 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.9724, allocations: 5.125 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9724, allocations: 4.906 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9724, allocations: 1.516 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.9741, allocations: 71.3 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.9741, allocations: 0 / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.9756, allocations: 52.47 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.9757, allocations: 6.156 kB / 1.355 GB, free: 14.11 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001617/0.9758, allocations: 110.9 kB / 1.355 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.9759, allocations: 6.688 kB / 1.355 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.9762, allocations: 30.83 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.9762, allocations: 1.156 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9762, allocations: 5.219 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9762, allocations: 1.812 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006065/0.9823, allocations: 0.8346 MB / 1.355 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.9823, allocations: 1.562 kB / 1.355 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.9835, allocations: 62.92 kB / 1.356 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.9835, allocations: 2.266 kB / 1.356 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.9836, allocations: 2.766 kB / 1.356 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.9836, allocations: 5.438 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9836, allocations: 0.8125 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001119/0.9847, allocations: 352.1 kB / 1.356 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.9848, allocations: 88.66 kB / 1.356 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.9849, allocations: 1.719 kB / 1.356 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.986, allocations: 52.22 kB / 1.356 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.986, allocations: 3.875 kB / 1.356 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.9861, allocations: 5.969 kB / 1.356 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.473e-05/0.9861, allocations: 89.16 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004563/0.9866, allocations: 99.88 kB / 1.356 GB, free: 13.27 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000259/0.9869, allocations: 129.7 kB / 1.356 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007689/0.9876, allocations: 184.8 kB / 1.356 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9876, allocations: 4.75 kB / 1.357 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.988, allocations: 67.05 kB / 1.357 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.9881, allocations: 6.125 kB / 1.357 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.9913, allocations: 353.8 kB / 1.357 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.9921, allocations: 0.7828 MB / 1.358 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.9921, allocations: 0 / 1.358 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of Templates: time 0.0123/1.004, allocations: 7.563 MB / 1.365 GB, free: 8.738 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches