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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006831/0.006831, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001305/0.001305, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 65.06 kB / 0.9509 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3213, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001681/0.323, allocations: 0.6221 MB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.325, allocations: 1.389 MB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.3251, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.182e-05/0.3251, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.3252, allocations: 3.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000713/0.3259, allocations: 175.6 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.326, allocations: 47.97 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.3261, allocations: 4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.3261, allocations: 19.92 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.3262, allocations: 31.95 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3262, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.3266, allocations: 199.7 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.3267, allocations: 13.36 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.3267, allocations: 27.84 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.3271, allocations: 195.5 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3271, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3271, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3271, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 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.0006082/0.3277, allocations: 434.7 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3278, allocations: 15.97 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.3278, allocations: 8.844 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.328, allocations: 176.2 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.328, allocations: 4.312 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3281, allocations: 4.375 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3283, allocations: 102 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3283, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3283, allocations: 3.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.3283, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3284, allocations: 59.95 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.3287, allocations: 181.7 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3288, allocations: 78.53 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/0.3289, allocations: 68.89 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.3289, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.3289, allocations: 38.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3289, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004164/0.3294, allocations: 255.1 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3294, allocations: 81.11 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3296, allocations: 147.3 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3296, allocations: 25.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.3296, allocations: 96.03 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3297, allocations: 11.91 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.3297, allocations: 29.7 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3299, allocations: 310.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.33, allocations: 108 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3301, allocations: 103.9 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.3304, allocations: 285.8 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3304, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003304/0.3307, allocations: 320.8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.3308, allocations: 71.39 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3308, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3308, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3308, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3309, allocations: 7.984 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.331, allocations: 15.91 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.331, allocations: 4 kB / 1.094 GB, free: 11.48 MB / 0.8575 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.0001061/0.3312, allocations: 151.5 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.3312, allocations: 15.84 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.3312, allocations: 8.25 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.3312, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3312, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3312, allocations: 3.984 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3313, allocations: 169.6 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3314, allocations: 4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/0.3314, allocations: 3.938 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3314, allocations: 11.92 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3314, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3314, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3314, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3316, allocations: 230.6 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.3317, allocations: 84.95 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3317, allocations: 8.031 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.3318, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3318, allocations: 7.984 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3318, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.3319, allocations: 109.1 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002691/0.3322, allocations: 68 kB / 1.094 GB, free: 10.49 MB / 0.8575 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.0002954/0.3325, allocations: 143.8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.3329, allocations: 378.6 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3329, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3331, allocations: 135.3 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.3332, allocations: 8 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.3336, allocations: 205.6 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3339, allocations: 0.6924 MB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.992e-06/0.3339, allocations: 0 / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.334, allocations: 11.56 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.334, allocations: 7.938 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.004699/0.3387, allocations: 2.042 MB / 1.098 GB, free: 6.797 MB / 0.8575 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