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.001744/0.001744, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002204/0.002204, allocations: 215.7 kB / 23.01 MB, free: 4.609 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.261/3.261, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.002092/0.002092, allocations: 66.97 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4152, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002008/0.4172, allocations: 0.6431 MB / 1.328 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005292/0.4177, allocations: 207.5 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.4178, allocations: 0 / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.4178, allocations: 0 / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.418, allocations: 15.92 kB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.4182, allocations: 67.77 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.414e-05/0.4183, allocations: 31.91 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.4183, allocations: 4 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.4184, allocations: 11.92 kB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.4184, allocations: 27.91 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4185, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.4187, allocations: 115.7 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.4187, allocations: 7.984 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.4187, allocations: 11.94 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4189, allocations: 115.6 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4189, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4189, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4189, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 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.0006394/0.4196, allocations: 290.1 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4196, allocations: 8.031 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.4197, allocations: 4.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4198, allocations: 130.4 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4198, allocations: 4.375 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.4199, allocations: 4.375 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.42, allocations: 54.17 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.42, allocations: 192 / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4201, allocations: 11.94 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4201, allocations: 0 / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.4202, allocations: 27.97 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.4205, allocations: 220 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.4208, allocations: 70.53 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.4208, allocations: 24.88 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4209, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4209, allocations: 38.56 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.4209, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.02861/0.4495, allocations: 1.605 MB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4496, allocations: 51.41 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.4497, allocations: 125.7 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.4498, allocations: 29.7 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.4499, allocations: 88.09 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.4499, allocations: 27.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.4501, allocations: 25.7 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.4503, allocations: 318.8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.4508, allocations: 143.9 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.4513, allocations: 147.9 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/0.4523, allocations: 288.8 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4523, allocations: 3.984 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001179/0.4535, allocations: 337.5 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4535, allocations: 7.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4535, allocations: 7.984 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4535, allocations: 0.6562 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.455, allocations: 55.94 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4551, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4564, allocations: 47.94 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.4564, allocations: 4 kB / 1.332 GB, free: 11.87 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.0001913/0.4566, allocations: 121.7 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.4567, allocations: 0 / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.4568, allocations: 28.25 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4568, allocations: 3.984 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4568, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4568, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005839/0.4627, allocations: 0.8209 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4627, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.4638, allocations: 60.42 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4638, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.4639, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4639, allocations: 7.938 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4639, allocations: 3.938 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.4648, allocations: 325.2 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.4648, allocations: 7.984 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.4649, allocations: 3.984 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.466, allocations: 43.89 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.466, allocations: 4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.466, allocations: 11.98 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.4661, allocations: 95.27 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4661, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000433/0.4666, allocations: 91.94 kB / 1.334 GB, free: 10.16 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.0003618/0.4669, allocations: 119.1 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.4679, allocations: 247.8 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4679, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.4683, allocations: 87.95 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.4686, allocations: 11.92 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.4715, allocations: 332 kB / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.4719, allocations: 0.6846 MB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.4724, allocations: 23.42 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/0.4724, allocations: 0 / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of Templates: time 0.008495/0.4809, allocations: 5.057 MB / 1.34 GB, free: 3.508 MB / 1.029 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 -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: 11.766415398014942]