Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008507/0.0008507, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001076/0.001076, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005456, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7826, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008035/0.7835, allocations: 347.5 kB / 0.9548 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.785, allocations: 1.333 MB / 0.9561 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.785, allocations: 0 / 0.9561 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.801e-05/0.7851, allocations: 7.875 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.7852, allocations: 2.219 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.7857, allocations: 136.1 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.7857, allocations: 41.27 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.7858, allocations: 5.312 kB / 0.9563 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.7858, allocations: 13.77 kB / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.7859, allocations: 34.11 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.7859, allocations: 2.5 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.7861, allocations: 174.4 kB / 0.9565 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.7862, allocations: 14.2 kB / 0.9565 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.7862, allocations: 29.67 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.7864, allocations: 127.9 kB / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7864, allocations: 0 / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7864, allocations: 0 / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7864, allocations: 0 / 0.9566 GB, free: 6.027 MB / 0.7169 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.0002784/0.7867, allocations: 438.7 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7867, allocations: 8.625 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.7868, allocations: 11.3 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.567e-05/0.7868, allocations: 178.5 kB / 0.9572 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.7869, allocations: 5.969 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.7869, allocations: 3.25 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.787, allocations: 92.42 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.787, allocations: 0 / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.7871, allocations: 5.5 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.7871, allocations: 0 / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.7872, allocations: 64.41 kB / 0.9574 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.7873, allocations: 176.3 kB / 0.9576 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.7874, allocations: 85.09 kB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.7875, allocations: 66.52 kB / 0.9577 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-06/0.7875, allocations: 0 / 0.9577 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.7875, allocations: 35.84 kB / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.7875, allocations: 0 / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003574/0.7879, allocations: 255.1 kB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.7879, allocations: 79.61 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.788, allocations: 143.1 kB / 0.9582 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.788, allocations: 27.11 kB / 0.9582 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.788, allocations: 99.19 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.7881, allocations: 5.75 kB / 0.9583 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.7881, allocations: 1.844 kB / 0.9583 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.7881, allocations: 332.5 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.7882, allocations: 100.1 kB / 0.9588 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.7883, allocations: 104.4 kB / 0.9589 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.7885, allocations: 169.3 kB / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7885, allocations: 0 / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002997/0.7888, allocations: 314 kB / 0.9593 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.7888, allocations: 75.75 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7889, allocations: 3.938 kB / 0.9594 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.7889, allocations: 0 / 0.9594 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.7889, allocations: 5.438 kB / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7889, allocations: 0 / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.789, allocations: 14.72 kB / 0.9594 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.789, allocations: 2.75 kB / 0.9594 GB, free: 3.734 MB / 0.7169 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 7.695e-05/0.7891, allocations: 155.8 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.7891, allocations: 6.656 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.7892, allocations: 7 kB / 0.9596 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7892, allocations: 3.938 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7892, allocations: 0 / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7892, allocations: 5.375 kB / 0.9596 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.781e-05/0.7893, allocations: 176.6 kB / 0.9598 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7893, allocations: 4 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.7893, allocations: 0 / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7893, allocations: 1.375 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.7893, allocations: 1.375 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.7893, allocations: 1.375 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7893, allocations: 0 / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.7895, allocations: 237.2 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.7896, allocations: 86.28 kB / 0.9601 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7896, allocations: 2.719 kB / 0.9601 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.7896, allocations: 7.609 kB / 0.9601 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.7897, allocations: 4.656 kB / 0.9601 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.7897, allocations: 2.406 kB / 0.9601 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.7898, allocations: 109.6 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7898, allocations: 0 / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002896/0.7901, allocations: 64.95 kB / 0.9602 GB, free: 2.988 MB / 0.7169 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.0002565/0.7903, allocations: 165.3 kB / 0.9604 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.7907, allocations: 368.9 kB / 0.9608 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7907, allocations: 1.25 kB / 0.9608 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.7909, allocations: 138.7 kB / 0.9609 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.791, allocations: 10.94 kB / 0.9609 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.7913, allocations: 215.3 kB / 0.9611 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.7915, allocations: 0.6898 MB / 0.9618 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.34e-06/0.7915, allocations: 1 kB / 0.9618 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.012e-05/0.7915, allocations: 7.438 kB / 0.9618 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7915, allocations: 4.906 kB / 0.9618 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.004246/0.7958, allocations: 1.869 MB / 0.9636 GB, free: 0.7266 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches