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.00141/0.00141, allocations: 112.6 kB / 16.37 MB, free: 6 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.001475/0.001475, allocations: 196 kB / 17.31 MB, free: 5.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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.451/2.451, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.73 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2753, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001697/0.277, allocations: 0.6289 MB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2786, allocations: 1.391 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.2786, allocations: 0 / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.2787, allocations: 7.938 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.2787, allocations: 7.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.2793, allocations: 171.6 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.2794, allocations: 51.97 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.2795, allocations: 0 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.2795, allocations: 23.86 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.2796, allocations: 31.91 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2796, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.2799, allocations: 203.7 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.2799, allocations: 8 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.28, allocations: 27.8 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.2802, allocations: 187.6 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2802, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2802, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2802, allocations: 0 / 1.029 GB, free: 15.29 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.0003812/0.2806, allocations: 439.9 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2806, allocations: 12.75 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.2807, allocations: 8.844 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2808, allocations: 176.2 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2808, allocations: 384 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2808, allocations: 4.375 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.281, allocations: 109.9 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.281, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.281, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.281, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.2811, allocations: 59.95 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.2813, allocations: 177.7 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2814, allocations: 78.53 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.2815, allocations: 72.88 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.2815, allocations: 3.938 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2815, allocations: 38.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2815, allocations: 0 / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003543/0.2819, allocations: 255.1 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2819, allocations: 81.11 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.282, allocations: 145.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2821, allocations: 25.7 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.2821, allocations: 99.97 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2821, allocations: 11.91 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.2822, allocations: 25.72 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2823, allocations: 314.8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2824, allocations: 104 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2826, allocations: 107.9 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.2828, allocations: 281.8 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2828, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003275/0.2831, allocations: 324.8 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.2832, allocations: 71.39 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2832, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.2832, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.2832, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2833, allocations: 4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2834, allocations: 19.89 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.2834, allocations: 4 kB / 1.032 GB, free: 12.01 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 9.482e-05/0.2835, allocations: 151.5 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2835, allocations: 15.78 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.2835, allocations: 8.25 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2835, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2835, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.2836, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2837, allocations: 169.6 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2837, allocations: 4 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-06/0.2837, allocations: 3.938 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2837, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2837, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2837, allocations: 3.984 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2837, allocations: 0 / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.284, allocations: 226.7 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.284, allocations: 88.94 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.284, allocations: 8.031 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.2841, allocations: 4 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.2841, allocations: 7.984 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.2842, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.2842, allocations: 109.1 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2842, allocations: 7.875 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002681/0.2845, allocations: 68 kB / 1.033 GB, free: 11.03 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.000237/0.2847, allocations: 151.9 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.2851, allocations: 374.7 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2851, allocations: 0 / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2853, allocations: 135.3 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.2854, allocations: 8 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.2857, allocations: 205.6 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.286, allocations: 0.6924 MB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.78e-06/0.286, allocations: 0 / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.286, allocations: 11.56 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of SimCode: time 1.393e-06/0.286, allocations: 4 kB / 1.035 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of Templates: time 0.004366/0.2904, allocations: 2.039 MB / 1.037 GB, free: 7.332 MB / 0.8106 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 -s gbode -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