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.007745/0.007745, allocations: 95.92 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.001639/0.001638, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.477/2.477, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 70.2 kB / 0.9509 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3353, allocations: 140.4 MB / 1.088 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001629/0.337, allocations: 0.6061 MB / 1.089 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3387, allocations: 1.393 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.3388, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.3388, allocations: 7.922 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.3389, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.3395, allocations: 180.2 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.3396, allocations: 51.89 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.3397, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.3397, allocations: 19.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.3398, allocations: 19.97 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3398, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.3402, allocations: 203.7 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.3402, allocations: 17.36 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.3403, allocations: 19.86 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.3405, allocations: 195.4 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3405, allocations: 0 / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3405, allocations: 0 / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3406, allocations: 0 / 1.091 GB, free: 14.85 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.0004626/0.341, allocations: 444.3 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3411, allocations: 11.97 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3411, allocations: 12.83 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3412, allocations: 172.3 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3413, allocations: 384 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3413, allocations: 4.375 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3415, allocations: 109.9 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3415, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3415, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3415, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.3416, allocations: 59.95 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.3418, allocations: 173.6 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3419, allocations: 82.47 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.342, allocations: 76.88 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.342, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.342, allocations: 34.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.342, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003819/0.3424, allocations: 251.2 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3425, allocations: 85.05 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3426, allocations: 151 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3426, allocations: 25.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.3427, allocations: 96.16 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3427, allocations: 15.91 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.3428, allocations: 21.72 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3429, allocations: 322.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.343, allocations: 99.94 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3431, allocations: 107.9 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.3434, allocations: 277.8 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3434, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003206/0.3437, allocations: 324.9 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.3438, allocations: 78.05 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3438, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3438, allocations: 3.984 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.3438, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3439, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.344, allocations: 23.88 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.344, allocations: 4 kB / 1.094 GB, free: 11.56 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.0001111/0.3442, allocations: 155.5 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.3442, allocations: 7.938 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.3442, allocations: 8.25 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.3442, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3442, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3442, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3444, allocations: 177.6 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3444, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.3444, allocations: 3.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.3444, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3444, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3444, allocations: 7.969 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3444, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3447, allocations: 226.6 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.3447, allocations: 85.03 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3448, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.3448, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.3449, allocations: 11.98 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3449, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.345, allocations: 111.3 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.345, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002806/0.3453, allocations: 67.88 kB / 1.094 GB, free: 10.58 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.0002942/0.3456, allocations: 147.7 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004151/0.346, allocations: 370.7 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.346, allocations: 3.938 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3461, allocations: 139.3 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3463, allocations: 8 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.3467, allocations: 213.5 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3469, allocations: 0.6924 MB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.593e-06/0.3469, allocations: 0 / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.032e-05/0.3469, allocations: 11.44 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.347, allocations: 3.938 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of Templates: time 0.004306/0.3513, allocations: 2.037 MB / 1.098 GB, free: 6.883 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