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.001521/0.001521, allocations: 109.6 kB / 15.99 MB, free: 6.367 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.001701/0.001701, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.499/1.499, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.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.303/2.303, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 70.38 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002027/0.298, allocations: 0.6784 MB / 0.9504 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.3, allocations: 1.387 MB / 0.9518 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.3, allocations: 0 / 0.9518 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.862e-05/0.3001, allocations: 4 kB / 0.9518 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.3001, allocations: 3.938 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.3009, allocations: 167.3 kB / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.301, allocations: 47.97 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.301, allocations: 0 / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.3011, allocations: 19.98 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.3011, allocations: 27.91 kB / 0.9521 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3012, allocations: 4 kB / 0.9521 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.3015, allocations: 199.7 kB / 0.9523 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.3016, allocations: 15.94 kB / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.3016, allocations: 23.86 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.3018, allocations: 120.1 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3018, allocations: 0 / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3018, allocations: 0 / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3019, allocations: 7.938 kB / 0.9524 GB, free: 6.539 MB / 0.7325 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.0005214/0.3024, allocations: 446.6 kB / 0.9528 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3024, allocations: 8.031 kB / 0.9528 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3025, allocations: 12.83 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3026, allocations: 168.3 kB / 0.953 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3026, allocations: 4.375 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3027, allocations: 384 / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3029, allocations: 101.9 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3029, allocations: 0 / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3029, allocations: 12 kB / 0.9531 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3029, allocations: 0 / 0.9531 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.303, allocations: 59.95 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.3032, allocations: 177.5 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3033, allocations: 78.53 kB / 0.9534 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.792e-05/0.3034, allocations: 72.89 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.3034, allocations: 0 / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3035, allocations: 42.5 kB / 0.9535 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3035, allocations: 0 / 0.9535 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003965/0.3039, allocations: 259.1 kB / 0.9538 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3039, allocations: 77.11 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3041, allocations: 147.9 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3041, allocations: 25.7 kB / 0.954 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.3041, allocations: 92.05 kB / 0.9541 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.3042, allocations: 15.89 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.3042, allocations: 33.73 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3044, allocations: 314.8 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3045, allocations: 99.94 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3046, allocations: 103.9 kB / 0.9547 GB, free: 4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3049, allocations: 277.8 kB / 0.9549 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3049, allocations: 0 / 0.9549 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003463/0.3053, allocations: 324.7 kB / 0.9552 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.3053, allocations: 75.38 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3053, allocations: 0 / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3054, allocations: 8.062 kB / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3054, allocations: 0 / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3054, allocations: 0 / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3055, allocations: 11.84 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3056, allocations: 7.938 kB / 0.9553 GB, free: 3.258 MB / 0.7325 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.0001183/0.3057, allocations: 151.5 kB / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.3057, allocations: 11.84 kB / 0.9555 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.3057, allocations: 8.25 kB / 0.9555 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3057, allocations: 0 / 0.9555 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3057, allocations: 8 kB / 0.9555 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3057, allocations: 0 / 0.9555 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3059, allocations: 165.6 kB / 0.9557 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3059, allocations: 4 kB / 0.9557 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.3059, allocations: 7.938 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3059, allocations: 0 / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3059, allocations: 0 / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3059, allocations: 3.938 kB / 0.9557 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3059, allocations: 4 kB / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3062, allocations: 234.7 kB / 0.9559 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.3063, allocations: 89.03 kB / 0.956 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3063, allocations: 0 / 0.956 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.3063, allocations: 7.984 kB / 0.956 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.3064, allocations: 4 kB / 0.956 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3064, allocations: 4 kB / 0.956 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.669e-05/0.3065, allocations: 113.8 kB / 0.9561 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3065, allocations: 0 / 0.9561 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002912/0.3068, allocations: 67.98 kB / 0.9562 GB, free: 2.281 MB / 0.7325 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.0003033/0.3071, allocations: 151.2 kB / 0.9563 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.3075, allocations: 374.6 kB / 0.9567 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3075, allocations: 0 / 0.9567 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3077, allocations: 135.3 kB / 0.9568 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.3078, allocations: 14.8 kB / 0.9568 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.3082, allocations: 247.3 kB / 0.9571 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3085, allocations: 0.6924 MB / 0.9577 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.3085, allocations: 7.438 kB / 0.9577 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3085, allocations: 3.938 kB / 0.9577 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of Templates: time 0.003395/0.3119, allocations: 1.663 MB / 0.9594 GB, free: 14.91 MB / 0.7481 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/jenkins1/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