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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009811/0.0009812, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006531/0.006531, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.871/2.871, allocations: 462.7 MB / 0.7364 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004182, allocations: 13.22 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3601, allocations: 159.6 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007715/0.3609, allocations: 358.8 kB / 1.059 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.3627, allocations: 1.419 MB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.3628, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.3628, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.3629, allocations: 3.984 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.3634, allocations: 139.8 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.3635, allocations: 39.91 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.3635, allocations: 0 / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.3636, allocations: 23.92 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.3636, allocations: 19.97 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3637, allocations: 4 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.364, allocations: 195.7 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.364, allocations: 15.92 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.3641, allocations: 49.56 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.3643, allocations: 175.6 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3643, allocations: 4 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.195e-06/0.3643, allocations: 0 / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3644, allocations: 0 / 1.061 GB, free: 3.086 MB / 0.8106 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.0004211/0.3648, allocations: 438.9 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3648, allocations: 12.03 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3649, allocations: 4.875 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.365, allocations: 180.2 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.365, allocations: 384 / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.365, allocations: 4.375 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3652, allocations: 102 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.3653, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3653, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3653, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.3654, allocations: 63.94 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.3655, allocations: 181.6 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3657, allocations: 82.47 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.482e-05/0.3658, allocations: 68.89 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.3658, allocations: 4 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3658, allocations: 34.5 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3658, allocations: 3.938 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004337/0.3663, allocations: 255.1 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.3663, allocations: 89.09 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3665, allocations: 135.7 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3665, allocations: 29.7 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.3666, allocations: 96.16 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.3666, allocations: 11.75 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.3667, allocations: 25.7 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3668, allocations: 314.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3669, allocations: 103.9 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.367, allocations: 103.9 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3673, allocations: 281.9 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3673, allocations: 0 / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003846/0.3677, allocations: 324.7 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.3678, allocations: 75.45 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3678, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3678, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.3678, allocations: 3.984 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3678, allocations: 4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.368, allocations: 11.84 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.368, allocations: 4 kB / 1.064 GB, free: 15.81 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3681, allocations: 153.1 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3682, allocations: 11.88 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.3682, allocations: 8.25 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3682, allocations: 3.984 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3682, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3682, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3683, allocations: 169.6 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3683, allocations: 7.984 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.3684, allocations: 7.938 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3684, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3684, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3684, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3684, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3687, allocations: 226.7 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3687, allocations: 88.95 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3687, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.3688, allocations: 4 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.3689, allocations: 11.98 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3689, allocations: 4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.369, allocations: 110.4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.369, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002814/0.3693, allocations: 67.94 kB / 1.065 GB, free: 14.84 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00035/0.3696, allocations: 147.2 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.37, allocations: 370.7 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.37, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3702, allocations: 139.3 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.3704, allocations: 12.97 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.3708, allocations: 227.3 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.371, allocations: 0.6926 MB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.761e-06/0.371, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.3711, allocations: 7.438 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3711, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.004664/0.3757, allocations: 1.907 MB / 1.068 GB, free: 11.26 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches