Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_9_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_9_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.01014/0.01014, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001617/0.001617, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.382/2.382, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 68.14 kB / 0.9509 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3548, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00177/0.3566, allocations: 0.6271 MB / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004569/0.3571, allocations: 199.5 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3571, allocations: 0 / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.3572, allocations: 3.938 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.3574, allocations: 11.92 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3576, allocations: 71.81 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.3577, allocations: 31.91 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/0.3578, allocations: 4 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.3578, allocations: 11.94 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.3579, allocations: 23.89 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3579, allocations: 4 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3581, allocations: 107.7 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.3582, allocations: 11.94 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.3582, allocations: 11.92 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3584, allocations: 111.7 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3584, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3584, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3584, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 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.0006113/0.359, allocations: 367.2 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3591, allocations: 8.031 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.3591, allocations: 12.83 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3593, allocations: 172.3 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3593, allocations: 12.31 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.3594, allocations: 8.359 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3595, allocations: 50.23 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3595, allocations: 192 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3596, allocations: 7.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3596, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3597, allocations: 31.97 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.36, allocations: 252.9 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.3602, allocations: 70.41 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.3603, allocations: 24.94 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3603, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3604, allocations: 34.56 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3604, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.02793/0.3883, allocations: 1.605 MB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3884, allocations: 55.39 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3886, allocations: 125.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.3886, allocations: 25.7 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.3887, allocations: 88.09 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.3888, allocations: 35.72 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.389, allocations: 25.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3892, allocations: 322.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.3897, allocations: 143.9 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.3902, allocations: 143.9 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.3912, allocations: 292.8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3912, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00119/0.3924, allocations: 333.5 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3924, allocations: 8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3924, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.3925, allocations: 0.6562 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.3941, allocations: 63.92 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3941, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3955, allocations: 47.95 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.3955, allocations: 3.984 kB / 1.093 GB, free: 11.71 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: 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.0002045/0.3957, allocations: 125.7 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.3958, allocations: 7.953 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.396, allocations: 20.31 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.396, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.396, allocations: 4 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.396, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/0.4018, allocations: 0.8453 MB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4018, allocations: 4.422 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.403, allocations: 59.94 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.403, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.403, allocations: 8 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.403, allocations: 3.938 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4031, allocations: 80 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.404, allocations: 325.1 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.4041, allocations: 85.09 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.4041, allocations: 7.984 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4052, allocations: 43.89 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.4052, allocations: 7.938 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.4053, allocations: 0 / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.727e-05/0.4053, allocations: 103.3 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.4053, allocations: 0 / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004105/0.4058, allocations: 99.86 kB / 1.095 GB, free: 9.863 MB / 0.8575 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.000251/0.406, allocations: 111.7 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009779/0.407, allocations: 251.8 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.407, allocations: 0 / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.4074, allocations: 95.89 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.4077, allocations: 5.406 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.4105, allocations: 294.6 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.4108, allocations: 0.6846 MB / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.4112, allocations: 48 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.4117, allocations: 23.42 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.4117, allocations: 4.406 kB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of Templates: time 0.01239/0.4241, allocations: 8.757 MB / 1.105 GB, free: 15.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches