Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001535/0.001536, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 72.16 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2717, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001774/0.2735, allocations: 0.6482 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000399/0.2739, allocations: 201.5 kB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.274, allocations: 0 / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.274, allocations: 3.938 kB / 1.028 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.2741, allocations: 11.92 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.2743, allocations: 75.75 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.772e-05/0.2744, allocations: 27.97 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.2745, allocations: 4 kB / 1.028 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.2745, allocations: 7.938 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.2746, allocations: 35.89 kB / 1.028 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2746, allocations: 3.938 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.2747, allocations: 103.8 kB / 1.028 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.2748, allocations: 11.88 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.2748, allocations: 19.91 kB / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2749, allocations: 95.81 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.275, allocations: 0 / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.366e-06/0.275, allocations: 4 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.275, allocations: 0 / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004687/0.2754, allocations: 371.4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2755, allocations: 8.031 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.2755, allocations: 8.844 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2756, allocations: 176.3 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.2757, allocations: 384 / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2757, allocations: 4.359 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.2758, allocations: 54.23 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2758, allocations: 4.125 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2759, allocations: 7.938 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2759, allocations: 0 / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.276, allocations: 31.97 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.2763, allocations: 252.9 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.2765, allocations: 78.41 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.2766, allocations: 24.88 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2766, allocations: 0 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2766, allocations: 30.56 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.2766, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.02758/0.3042, allocations: 1.609 MB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3043, allocations: 59.39 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3044, allocations: 117.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.3045, allocations: 25.7 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.3046, allocations: 96.03 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.3047, allocations: 27.64 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.3049, allocations: 25.61 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.305, allocations: 326.8 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.3055, allocations: 143.9 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.306, allocations: 135.9 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/0.3069, allocations: 296.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.307, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00114/0.3081, allocations: 334.2 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3081, allocations: 4.094 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3081, allocations: 3.938 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3082, allocations: 7.984 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.3097, allocations: 67.86 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3097, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3109, allocations: 43.95 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.311, allocations: 7.984 kB / 1.032 GB, free: 12.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001666/0.3112, allocations: 117.7 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.3112, allocations: 7.906 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.3114, allocations: 24.38 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3114, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/0.3114, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3114, allocations: 3.938 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/0.3169, allocations: 0.8416 MB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.3169, allocations: 4.062 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.3179, allocations: 55.88 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3179, allocations: 4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/0.318, allocations: 0 / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.318, allocations: 3.938 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.318, allocations: 4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.319, allocations: 321.2 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.319, allocations: 81.02 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.3191, allocations: 15.92 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.3201, allocations: 39.89 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.3201, allocations: 4 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.3201, allocations: 8 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.979e-05/0.3202, allocations: 91.27 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3202, allocations: 0 / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004193/0.3207, allocations: 95.98 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002357/0.3209, allocations: 115.2 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009426/0.3218, allocations: 243.8 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3219, allocations: 4.469 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.3223, allocations: 96.02 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3226, allocations: 8 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3252, allocations: 301.5 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3254, allocations: 0.6923 MB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004062/0.3258, allocations: 48.16 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/0.3263, allocations: 15.42 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3263, allocations: 0 / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of Templates: time 0.01354/0.3399, allocations: 8.739 MB / 1.044 GB, free: 76 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches