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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001428/0.001428, allocations: 182.8 kB / 0.4902 GB, free: 2.227 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.627/1.627, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0008852/0.0008853, allocations: 106.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003661, allocations: 10.44 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2956, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.4973, allocations: 149.7 MB / 1.375 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4976, allocations: 75.95 kB / 1.375 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004136/0.5018, allocations: 1.246 MB / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5018, allocations: 0 / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.5018, allocations: 0 / 1.377 GB, free: 2.562 MB / 0.8698 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.0004806/0.5023, allocations: 367.8 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5023, allocations: 8.031 kB / 1.377 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.5024, allocations: 8 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.5026, allocations: 178.9 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5026, allocations: 0 / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.5027, allocations: 0 / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.5028, allocations: 57.67 kB / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5028, allocations: 0 / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5029, allocations: 0 / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5029, allocations: 0 / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.503, allocations: 51.89 kB / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.5034, allocations: 253.9 kB / 1.378 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.5036, allocations: 74.53 kB / 1.378 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.5037, allocations: 4 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5037, allocations: 38.56 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5037, allocations: 0 / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0396/0.5433, allocations: 1.765 MB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.5434, allocations: 55.34 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.5436, allocations: 112.9 kB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/0.5437, allocations: 25.7 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.5438, allocations: 92.12 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.5439, allocations: 23.56 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.544, allocations: 0 / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.5442, allocations: 326.8 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007922/0.545, allocations: 159.9 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.5458, allocations: 155.9 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.5466, allocations: 163.9 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5466, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001967/0.5486, allocations: 389.3 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.5486, allocations: 8 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5487, allocations: 0 / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.5487, allocations: 3.953 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.551, allocations: 79.89 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.551, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.553, allocations: 55.89 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.5532, allocations: 11.97 kB / 1.381 GB, free: 13.94 MB / 0.8855 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 () * Number of clocked 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.0002773/0.5534, allocations: 110.6 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.5536, allocations: 4 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.5538, allocations: 17.03 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5539, allocations: 8 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5539, allocations: 7.938 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5539, allocations: 0 / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/0.5624, allocations: 0.9115 MB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5624, allocations: 0 / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.5641, allocations: 75.91 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.294e-05/0.5641, allocations: 11.92 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.5642, allocations: 3.984 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.5642, allocations: 4 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5642, allocations: 0 / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.5657, allocations: 396.4 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.5658, allocations: 81.11 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5659, allocations: 4 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.5676, allocations: 43.95 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.5676, allocations: 15.92 kB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/0.5677, allocations: 7.984 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001001/0.5678, allocations: 95.27 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5678, allocations: 0 / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000748/0.5686, allocations: 99.94 kB / 1.383 GB, free: 11.93 MB / 0.8855 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 () * Number of clocked 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.0003506/0.569, allocations: 127.1 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.5706, allocations: 287.8 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5707, allocations: 7.938 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006828/0.5713, allocations: 119.9 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5716, allocations: 3.938 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.5758, allocations: 352.7 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.5762, allocations: 0.6887 MB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009806/0.5772, allocations: 56.16 kB / 1.384 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007306/0.578, allocations: 31.38 kB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/0.578, allocations: 0 / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.0186/0.5966, allocations: 8.164 MB / 1.392 GB, free: 2 MB / 0.8855 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