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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.006549/0.006549, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001351/0.001351, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.52 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3266, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002126/0.3287, allocations: 0.6775 MB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3308, allocations: 1.423 MB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.3309, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.845e-05/0.331, allocations: 3.984 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.331, allocations: 7.938 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.3317, allocations: 138.4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.3318, allocations: 39.95 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.3318, allocations: 0 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.3319, allocations: 23.92 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.3319, allocations: 27.91 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.332, allocations: 7.938 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.3323, allocations: 199.7 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.3324, allocations: 8 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.3324, allocations: 23.8 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3327, allocations: 115.8 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3327, allocations: 4 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3327, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3327, allocations: 4 kB / 1.055 GB, free: 5.59 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.0005639/0.3333, allocations: 439 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3333, allocations: 15.97 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.3334, allocations: 8.844 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3335, allocations: 173.5 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3336, allocations: 8.375 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3336, allocations: 4.375 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3338, allocations: 93.95 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3338, allocations: 4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3338, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3338, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.3339, allocations: 63.89 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.3341, allocations: 177.7 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3342, allocations: 78.53 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3344, allocations: 76.88 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.3344, allocations: 3.938 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3344, allocations: 42.44 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3344, allocations: 0 / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004137/0.3348, allocations: 259.1 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3349, allocations: 85.14 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.335, allocations: 139.2 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3351, allocations: 29.7 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.3351, allocations: 96.05 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3352, allocations: 7.844 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.3352, allocations: 29.7 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3354, allocations: 322.8 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3355, allocations: 99.94 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3356, allocations: 107.9 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3359, allocations: 269.9 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3359, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003925/0.3363, allocations: 328.7 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.3364, allocations: 75.38 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3364, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3364, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3364, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3364, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3366, allocations: 11.84 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3366, allocations: 8.062 kB / 1.058 GB, free: 2.309 MB / 0.8106 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.0001693/0.3368, allocations: 155.5 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.3368, allocations: 11.84 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.3369, allocations: 8.25 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3369, allocations: 0 / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3369, allocations: 0 / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3369, allocations: 0 / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.337, allocations: 177.6 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.337, allocations: 0 / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-06/0.337, allocations: 7.938 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.337, allocations: 0 / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3371, allocations: 4 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3371, allocations: 0 / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3371, allocations: 0 / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.3374, allocations: 226.6 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.3374, allocations: 92.89 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3374, allocations: 0 / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.3375, allocations: 12.02 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3376, allocations: 8 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3376, allocations: 4 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.3377, allocations: 108.9 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3377, allocations: 0 / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003039/0.338, allocations: 67.98 kB / 1.059 GB, free: 1.332 MB / 0.8106 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.0002995/0.3383, allocations: 139.2 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.3388, allocations: 378.6 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3388, allocations: 4.062 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3389, allocations: 135.3 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.3391, allocations: 13.66 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.3395, allocations: 241.1 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.3399, allocations: 0.6926 MB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.3399, allocations: 11.5 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.3399, allocations: 3.938 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.004104/0.3441, allocations: 1.659 MB / 1.062 GB, free: 13.97 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/jenkins1/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