Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.917/1.917, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001032/0.001032, allocations: 185.2 kB / 490.8 MB, free: 1.957 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.307/1.307, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009397, allocations: 87.73 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.205e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3003, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7179/1.018, allocations: 148.9 MB / 1.357 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.019, allocations: 71.36 kB / 1.357 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.00383/1.022, allocations: 0.9577 MB / 1.358 GB, free: 17.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.022, allocations: 0 / 1.358 GB, free: 17.52 MB / 0.823 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.0003411/1.023, allocations: 353.7 kB / 1.358 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.023, allocations: 10.17 kB / 1.358 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/1.023, allocations: 6 kB / 1.358 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.023, allocations: 177 kB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.023, allocations: 1.188 kB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/1.023, allocations: 3.328 kB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.886e-05/1.023, allocations: 14.33 kB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.251e-05/1.023, allocations: 45.97 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.023, allocations: 0 / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.023, allocations: 0.5156 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.023, allocations: 1 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/1.024, allocations: 304.7 kB / 1.359 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/1.024, allocations: 37.92 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/1.024, allocations: 19.55 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/1.024, allocations: 3.906 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/1.024, allocations: 38.16 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/1.024, allocations: 3.469 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.01857/1.042, allocations: 1.264 MB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/1.042, allocations: 55.41 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.043, allocations: 107.4 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/1.043, allocations: 25.7 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/1.043, allocations: 90.95 kB / 1.36 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/1.043, allocations: 20.42 kB / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/1.043, allocations: 384 / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.043, allocations: 322.9 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/1.043, allocations: 109.7 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/1.044, allocations: 117.5 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/1.045, allocations: 177 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.045, allocations: 0 / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001329/1.046, allocations: 339.4 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.046, allocations: 7.25 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.046, allocations: 1.625 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.046, allocations: 0 / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.048, allocations: 72.11 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.048, allocations: 0 / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.049, allocations: 59.83 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/1.049, allocations: 4.359 kB / 1.362 GB, free: 31.77 MB / 0.8386 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.0001787/1.049, allocations: 113.1 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/1.049, allocations: 6.062 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/1.05, allocations: 27.14 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.05, allocations: 1.156 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.05, allocations: 1.031 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.05, allocations: 5.406 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/1.056, allocations: 0.8311 MB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.056, allocations: 1.156 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.057, allocations: 63.5 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/1.057, allocations: 1.344 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/1.057, allocations: 7.094 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.057, allocations: 1.562 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.057, allocations: 4.906 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001118/1.059, allocations: 350.9 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/1.059, allocations: 84.98 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/1.059, allocations: 4.609 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.06, allocations: 50.03 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/1.06, allocations: 3.719 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/1.06, allocations: 4.391 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.213e-05/1.06, allocations: 96.81 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004471/1.06, allocations: 101.4 kB / 1.363 GB, free: 30.93 MB / 0.8386 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.0002533/1.061, allocations: 128.9 kB / 1.363 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007479/1.061, allocations: 182.1 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.061, allocations: 1.375 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/1.062, allocations: 66.06 kB / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/1.062, allocations: 4.109 kB / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/1.065, allocations: 356 kB / 1.364 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000794/1.066, allocations: 0.7808 MB / 1.365 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of SimCode: time 1.473e-06/1.066, allocations: 1.344 kB / 1.365 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.01362/1.079, allocations: 7.565 MB / 1.372 GB, free: 29.72 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches