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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00166/0.001659, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 190.7 kB / 16.53 MB, free: 6.391 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 482.6 MB / 0.7549 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.83 kB / 0.9241 GB, free: 29.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 162.3 MB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002098/0.3401, allocations: 0.6098 MB / 1.083 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.3422, allocations: 1.384 MB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.3423, allocations: 0 / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.3424, allocations: 3.938 kB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.3424, allocations: 3.984 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.3431, allocations: 187.5 kB / 1.085 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3432, allocations: 43.91 kB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.3433, allocations: 4 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.3433, allocations: 23.91 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.3434, allocations: 23.97 kB / 1.085 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3434, allocations: 4 kB / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.3438, allocations: 195.7 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.3438, allocations: 19.92 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.3439, allocations: 19.86 kB / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3442, allocations: 183.9 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3442, allocations: 0 / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3442, allocations: 4 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3442, allocations: 4 kB / 1.085 GB, free: 10.21 MB / 0.8419 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.0005147/0.3447, allocations: 434.7 kB / 1.086 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3448, allocations: 16.02 kB / 1.086 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.3448, allocations: 8.781 kB / 1.086 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.345, allocations: 182.4 kB / 1.086 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.345, allocations: 384 / 1.086 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.345, allocations: 8.375 kB / 1.086 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3452, allocations: 93.95 kB / 1.086 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3453, allocations: 8 kB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3453, allocations: 0 / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3453, allocations: 0 / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.278e-05/0.3454, allocations: 59.95 kB / 1.086 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.3456, allocations: 177.6 kB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3457, allocations: 82.41 kB / 1.086 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.3458, allocations: 72.89 kB / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3458, allocations: 4 kB / 1.086 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3459, allocations: 34.5 kB / 1.086 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3459, allocations: 0 / 1.086 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004174/0.3463, allocations: 251.4 kB / 1.087 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.3464, allocations: 81.11 kB / 1.087 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3465, allocations: 149.6 kB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3466, allocations: 29.7 kB / 1.087 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.3466, allocations: 88.14 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3467, allocations: 15.84 kB / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.3467, allocations: 29.7 kB / 1.087 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3469, allocations: 322.8 kB / 1.087 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.347, allocations: 103.9 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3472, allocations: 99.94 kB / 1.087 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.3475, allocations: 273.8 kB / 1.088 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3475, allocations: 0 / 1.088 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003976/0.3479, allocations: 324.8 kB / 1.088 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.44e-05/0.348, allocations: 75.38 kB / 1.088 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.348, allocations: 8.047 kB / 1.088 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.348, allocations: 0 / 1.088 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.348, allocations: 3.938 kB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.348, allocations: 0 / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.3482, allocations: 7.938 kB / 1.088 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3482, allocations: 4 kB / 1.088 GB, free: 6.941 MB / 0.8419 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.0001242/0.3483, allocations: 152.1 kB / 1.088 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.3483, allocations: 15.78 kB / 1.088 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.3484, allocations: 16.23 kB / 1.088 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3484, allocations: 0 / 1.088 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3484, allocations: 0 / 1.088 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.3484, allocations: 0 / 1.088 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.3485, allocations: 177.6 kB / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3485, allocations: 0 / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-06/0.3486, allocations: 3.938 kB / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3486, allocations: 0 / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3486, allocations: 4 kB / 1.088 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3486, allocations: 0 / 1.088 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3486, allocations: 0 / 1.088 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.3489, allocations: 234.6 kB / 1.089 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3489, allocations: 84.95 kB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.349, allocations: 4 kB / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.349, allocations: 0 / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.3491, allocations: 15.92 kB / 1.089 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3491, allocations: 4 kB / 1.089 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.026e-05/0.3492, allocations: 104.7 kB / 1.089 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3492, allocations: 0 / 1.089 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002899/0.3495, allocations: 72.02 kB / 1.089 GB, free: 5.961 MB / 0.8419 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.0002996/0.3498, allocations: 143.2 kB / 1.089 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.3503, allocations: 374.6 kB / 1.089 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3503, allocations: 0 / 1.089 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3505, allocations: 131.4 kB / 1.09 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.3506, allocations: 9.406 kB / 1.09 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.351, allocations: 229.4 kB / 1.09 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3514, allocations: 0.6885 MB / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.901e-06/0.3514, allocations: 0 / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.3514, allocations: 7.438 kB / 1.091 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of SimCode: time 2.084e-06/0.3514, allocations: 0 / 1.091 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of Templates: time 0.005252/0.3567, allocations: 2.058 MB / 1.093 GB, free: 2.25 MB / 0.8419 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=400 -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