Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.462/2.462, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001274/0.001274, allocations: 180 kB / 0.4902 GB, free: 2.207 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.676/1.676, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.00106/0.00106, allocations: 104.2 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005788/0.0005787, allocations: 10.47 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3316, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.5288, allocations: 150.9 MB / 1.377 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5291, allocations: 87.92 kB / 1.377 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0101/0.5392, allocations: 3.218 MB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.896e-06/0.5392, allocations: 0 / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.5393, allocations: 0 / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004603/0.5397, allocations: 446.4 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5398, allocations: 12.83 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.5398, allocations: 0 / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.54, allocations: 182.9 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.54, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.5401, allocations: 4 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.5403, allocations: 97.64 kB / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5403, allocations: 4 kB / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5403, allocations: 0 / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.5403, allocations: 0 / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.456e-05/0.5404, allocations: 63.89 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.5406, allocations: 177.6 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.5408, allocations: 78.47 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.5408, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5408, allocations: 38.59 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.5408, allocations: 0 / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0004817/0.5413, allocations: 332.3 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.5414, allocations: 89.05 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5415, allocations: 135.5 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.5416, allocations: 25.7 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.5416, allocations: 92.12 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.5417, allocations: 15.81 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5417, allocations: 4.031 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5418, allocations: 322.8 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.5419, allocations: 91.94 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.5421, allocations: 99.92 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.5423, allocations: 159.3 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5423, allocations: 0 / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003503/0.5426, allocations: 308.9 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.5427, allocations: 67.39 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5427, allocations: 3.938 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.5427, allocations: 4.062 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/0.5427, allocations: 4 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5428, allocations: 3.938 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.5428, allocations: 15.78 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.5429, allocations: 15.98 kB / 1.383 GB, free: 12.15 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001246/0.543, allocations: 155.5 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.543, allocations: 7.906 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.543, allocations: 4.25 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5431, allocations: 4 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5431, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5431, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.5432, allocations: 173.6 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5432, allocations: 7.953 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.5432, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5432, allocations: 4 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5432, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5432, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5433, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.5435, allocations: 234.6 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.5436, allocations: 84.97 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.5436, allocations: 7.938 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.5437, allocations: 7.984 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.5437, allocations: 7.984 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.5438, allocations: 0 / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.411e-05/0.5438, allocations: 108.5 kB / 1.383 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5438, allocations: 0 / 1.383 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002922/0.5442, allocations: 75.95 kB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003027/0.5445, allocations: 159.2 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.5449, allocations: 370.6 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5449, allocations: 0 / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.545, allocations: 135.4 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.5451, allocations: 0 / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.5455, allocations: 219.6 kB / 1.384 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.5457, allocations: 0.7004 MB / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.723e-06/0.5458, allocations: 0 / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-06/0.5458, allocations: 7.438 kB / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5458, allocations: 0 / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.004115/0.5499, allocations: 1.814 MB / 1.387 GB, free: 7.691 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches