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.0009862/0.0009863, 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.0009393/0.0009393, 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.196/1.196, 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.234/2.234, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 68.16 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.26, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001669/0.2617, allocations: 0.6366 MB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003726/0.2621, allocations: 199 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.2621, allocations: 0 / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.2621, allocations: 0 / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.2623, allocations: 15.86 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2625, allocations: 75.81 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.2625, allocations: 27.92 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.2626, allocations: 7.984 kB / 1.028 GB, free: 1.066 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.2626, allocations: 15.92 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.2627, allocations: 23.91 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2627, allocations: 0 / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.2628, allocations: 107.7 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.2629, allocations: 11.92 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.2629, allocations: 15.92 kB / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2631, allocations: 95.77 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2631, allocations: 11.92 kB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2631, allocations: 4 kB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2631, allocations: 0 / 1.028 GB, free: 0.7852 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.0004826/0.2636, allocations: 367.4 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2636, allocations: 8.031 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.2636, allocations: 4.844 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2638, allocations: 172.4 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2638, allocations: 4.312 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.2638, allocations: 384 / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.264, allocations: 74.14 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.264, allocations: 192 / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.264, allocations: 7.938 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.264, allocations: 0 / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2641, allocations: 27.97 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.2644, allocations: 248.9 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2646, allocations: 84.78 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.2646, allocations: 20.94 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2647, allocations: 0 / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2647, allocations: 34.56 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2647, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0252/0.2899, allocations: 1.609 MB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.29, allocations: 55.41 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.2901, allocations: 117.8 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.2901, allocations: 25.7 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.2902, allocations: 96.05 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.2902, allocations: 27.64 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.2904, allocations: 21.62 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2906, allocations: 326.8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.2911, allocations: 147.9 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.2915, allocations: 140.3 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.2924, allocations: 296.9 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2924, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001055/0.2934, allocations: 337.5 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2935, allocations: 4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2935, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2935, allocations: 4 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2949, allocations: 59.92 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2949, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.2961, allocations: 43.95 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.2962, allocations: 7.984 kB / 1.032 GB, free: 12.24 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.0001581/0.2964, allocations: 125.7 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2964, allocations: 7.906 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.2965, allocations: 20.38 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2966, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2966, allocations: 3.938 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2966, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00483/0.3014, allocations: 0.8416 MB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3014, allocations: 3.984 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009896/0.3024, allocations: 55.88 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3024, allocations: 4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.3025, allocations: 4.062 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3025, allocations: 4 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3025, allocations: 8 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.3033, allocations: 317.2 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3034, allocations: 81.44 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.3035, allocations: 4 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.3043, allocations: 43.88 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.3044, allocations: 11.94 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.3044, allocations: 4 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.3045, allocations: 95.3 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3045, allocations: 4 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000366/0.3049, allocations: 96 kB / 1.034 GB, free: 10.41 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.0002088/0.3051, allocations: 119.2 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008538/0.3059, allocations: 243.8 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3059, allocations: 4 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.3063, allocations: 95.88 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3066, allocations: 10.5 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.3089, allocations: 298.7 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.3091, allocations: 0.6885 MB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003729/0.3095, allocations: 48.16 kB / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.3099, allocations: 19.42 kB / 1.035 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of SimCode: time 5.82e-07/0.3099, allocations: 0 / 1.035 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of Templates: time 0.01077/0.3207, allocations: 8.736 MB / 1.044 GB, free: 56 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 cvode -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