Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.0009449/0.0009449, allocations: 189.1 kB / 316 MB, free: 3.492 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.026/1.026, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0007661/0.0007661, allocations: 90.03 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.205e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5234, allocations: 131.6 MB / 1.013 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.5237, allocations: 71.14 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003508/0.5272, allocations: 0.9574 MB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5272, allocations: 0 / 1.014 GB, free: 6.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002911/0.5275, allocations: 357.6 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5275, allocations: 12.02 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.5276, allocations: 7.906 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.5277, allocations: 171 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.5277, allocations: 4 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.5278, allocations: 4 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.72e-05/0.5278, allocations: 19.64 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/0.5279, allocations: 44.94 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5279, allocations: 4 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5279, allocations: 0 / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.528, allocations: 0 / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.5282, allocations: 301.5 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.5283, allocations: 36.95 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.5284, allocations: 17.05 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.5284, allocations: 0 / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5284, allocations: 30.56 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.5284, allocations: 0 / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.01826/0.5467, allocations: 1.272 MB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.5467, allocations: 54.14 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.5468, allocations: 112 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.5469, allocations: 25.7 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.547, allocations: 87.98 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.547, allocations: 22.95 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.5471, allocations: 0 / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.5472, allocations: 321.9 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.5475, allocations: 110.7 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.5479, allocations: 116.9 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.5485, allocations: 174.6 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5485, allocations: 0 / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001228/0.5498, allocations: 330.9 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5498, allocations: 4 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5498, allocations: 4 kB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5498, allocations: 0.875 kB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.5515, allocations: 75.86 kB / 1.018 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5515, allocations: 3.906 kB / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.5529, allocations: 55.95 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/0.553, allocations: 7.922 kB / 1.018 GB, free: 2.488 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 (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.0001659/0.5531, allocations: 105.6 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.5532, allocations: 3.906 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.5535, allocations: 24.45 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5535, allocations: 0 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5535, allocations: 4 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5535, allocations: 3.938 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/0.5591, allocations: 0.8384 MB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5591, allocations: 7.922 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.5602, allocations: 71.84 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5602, allocations: 4 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.5603, allocations: 0 / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5603, allocations: 3.984 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5603, allocations: 4 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009894/0.5613, allocations: 343.5 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.5613, allocations: 85.02 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.5614, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.5625, allocations: 51.95 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.5626, allocations: 10.8 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.5626, allocations: 7.906 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.548e-05/0.5627, allocations: 95.2 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003829/0.5631, allocations: 99.94 kB / 1.019 GB, free: 0.7188 MB / 0.6355 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.0002335/0.5633, allocations: 123.2 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006682/0.564, allocations: 191.1 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.564, allocations: 4 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.5643, allocations: 57.88 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.5644, allocations: 7.75 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.5674, allocations: 347 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/0.5682, allocations: 0.7737 MB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.5682, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.009194/0.5774, allocations: 7.571 MB / 1.028 GB, free: 7.637 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches