Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 211.5 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.23/3.23, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 63.81 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3626, allocations: 176.1 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001865/0.3645, allocations: 0.6279 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004631/0.365, allocations: 179.7 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.365, allocations: 3.938 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.365, allocations: 3.938 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.3652, allocations: 15.92 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3654, allocations: 67.75 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.3655, allocations: 32 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.3655, allocations: 3.984 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.3656, allocations: 11.94 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.3656, allocations: 23.83 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3656, allocations: 4 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3658, allocations: 55.88 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.3658, allocations: 3.938 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.3658, allocations: 23.91 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.366, allocations: 95.66 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.366, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.366, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.366, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 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.0005846/0.3666, allocations: 290.1 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3666, allocations: 8.031 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3667, allocations: 8.938 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3668, allocations: 118.4 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3668, allocations: 8.375 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3668, allocations: 8.312 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.367, allocations: 54.22 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.367, allocations: 4.188 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.367, allocations: 3.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.367, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3671, allocations: 31.97 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.3674, allocations: 192.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.3676, allocations: 74.44 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.3677, allocations: 24.94 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3677, allocations: 3.938 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3677, allocations: 34.56 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3677, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.03166/0.3994, allocations: 1.605 MB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3995, allocations: 55.41 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3996, allocations: 129.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/0.3997, allocations: 33.64 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.3998, allocations: 92.12 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.3999, allocations: 23.73 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.4001, allocations: 25.72 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4002, allocations: 318.8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.4008, allocations: 151.9 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.4012, allocations: 135.9 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4023, allocations: 296.7 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4023, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001271/0.4035, allocations: 337.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4035, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.4036, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4036, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.4053, allocations: 63.92 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4053, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4067, allocations: 47.95 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.4068, allocations: 7.984 kB / 1.332 GB, free: 11.43 MB / 1.029 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.0002273/0.407, allocations: 118.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.4071, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.4072, allocations: 20.38 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4072, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4072, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4072, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/0.4131, allocations: 0.7085 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4132, allocations: 8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.4143, allocations: 51.94 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4143, allocations: 8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.4144, allocations: 7.984 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4144, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4144, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.4154, allocations: 325 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.4154, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.4154, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.4165, allocations: 43.95 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.4165, allocations: 11.86 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.4166, allocations: 7.938 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.95e-05/0.4166, allocations: 95.27 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4166, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004281/0.4171, allocations: 95.92 kB / 1.334 GB, free: 9.848 MB / 1.029 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.0002369/0.4173, allocations: 111.2 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009872/0.4183, allocations: 243.8 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4183, allocations: 0 / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.4187, allocations: 95.88 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.419, allocations: 6.031 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.4218, allocations: 310.4 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.115e-05/0.4219, allocations: 71.33 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004268/0.4223, allocations: 48 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.4228, allocations: 19.42 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.4228, allocations: 0 / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of Templates: time 0.01483/0.4376, allocations: 9.759 MB / 1.344 GB, free: 15.09 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.408789341992815]