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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001312/0.001312, allocations: 193.1 kB / 498.1 MB, free: 5.742 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.458/1.458, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001007/0.001007, allocations: 96.33 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004564, allocations: 10.47 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.31, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.5196, allocations: 148.9 MB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5199, allocations: 79.95 kB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004299/0.5243, allocations: 1.246 MB / 1.37 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5243, allocations: 0 / 1.37 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.5243, allocations: 0 / 1.37 GB, free: 11.85 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.0004788/0.5248, allocations: 367.2 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5249, allocations: 8.031 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.5249, allocations: 3.906 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.5251, allocations: 179 kB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5251, allocations: 4 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.5252, allocations: 0 / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.5253, allocations: 65.67 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5254, allocations: 0 / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5254, allocations: 3.938 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5254, allocations: 0 / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.5255, allocations: 43.97 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.5259, allocations: 255.6 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.5262, allocations: 82.47 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.5262, allocations: 0 / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5263, allocations: 34.56 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.5263, allocations: 0 / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.03133/0.5576, allocations: 1.757 MB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.5577, allocations: 55.41 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5579, allocations: 108.9 kB / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.558, allocations: 29.7 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.558, allocations: 88.03 kB / 1.373 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.5581, allocations: 27.64 kB / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.5582, allocations: 4 kB / 1.373 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5584, allocations: 318.8 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.5588, allocations: 159.9 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.5593, allocations: 163.9 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.5599, allocations: 163.9 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5599, allocations: 4 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001218/0.5611, allocations: 381.9 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5611, allocations: 8.078 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5611, allocations: 7.938 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5612, allocations: 432 / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.5629, allocations: 79.84 kB / 1.374 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5629, allocations: 4 kB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.5644, allocations: 47.95 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/0.5645, allocations: 11.97 kB / 1.374 GB, free: 7.23 MB / 0.8698 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.0002075/0.5647, allocations: 115.4 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.5648, allocations: 11.84 kB / 1.374 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.565, allocations: 20.36 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.565, allocations: 4 kB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.565, allocations: 7.953 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.565, allocations: 0 / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/0.5712, allocations: 0.9 MB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5712, allocations: 3.953 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.5724, allocations: 67.91 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.5725, allocations: 8.062 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.5725, allocations: 11.97 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.5725, allocations: 4 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5725, allocations: 3.938 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009913/0.5735, allocations: 392.4 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.5736, allocations: 89 kB / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.5737, allocations: 4 kB / 1.375 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5748, allocations: 47.95 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.5748, allocations: 11.98 kB / 1.376 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.5749, allocations: 11.98 kB / 1.376 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.575, allocations: 91.27 kB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.492e-06/0.575, allocations: 0 / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004736/0.5755, allocations: 107.9 kB / 1.376 GB, free: 5.207 MB / 0.8698 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.000317/0.5758, allocations: 127 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.5768, allocations: 279.8 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5768, allocations: 4.406 kB / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.5772, allocations: 119.9 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.5775, allocations: 7.953 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.5802, allocations: 352.5 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5806, allocations: 0.6905 MB / 1.377 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005412/0.5811, allocations: 59.98 kB / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.5816, allocations: 35.38 kB / 1.377 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of SimCode: time 9.31e-07/0.5816, allocations: 0 / 1.377 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.01459/0.5962, allocations: 8.152 MB / 1.385 GB, free: 11.29 MB / 0.8855 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