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.001877/0.001877, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002407/0.002407, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.322/3.322, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.002066/0.002066, allocations: 67.7 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4485, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.003171/0.4516, allocations: 0.6373 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006561/0.4523, allocations: 183.6 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.4523, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.4524, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.4526, allocations: 7.938 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.4529, allocations: 71.73 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.453, allocations: 31.92 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.453, allocations: 0 / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.4531, allocations: 19.91 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.4532, allocations: 23.92 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.4532, allocations: 4 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.4534, allocations: 59.92 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.4534, allocations: 3.828 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.4535, allocations: 15.92 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.4537, allocations: 91.72 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4537, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4538, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4538, allocations: 0 / 1.328 GB, free: 15.84 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.0007774/0.4545, allocations: 298 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4546, allocations: 8.031 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.4546, allocations: 4.938 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.4548, allocations: 118.4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.4548, allocations: 8.375 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.4549, allocations: 384 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.4551, allocations: 54.23 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4551, allocations: 192 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.4551, allocations: 7.922 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4551, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.4554, allocations: 39.95 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.4558, allocations: 196.6 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.4562, allocations: 58.53 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.4564, allocations: 24.94 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4564, allocations: 7.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.4564, allocations: 34.55 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.4564, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.05068/0.5071, allocations: 1.605 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.5072, allocations: 63.34 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.5074, allocations: 125.6 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.5075, allocations: 29.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5076, allocations: 92.12 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5077, allocations: 27.75 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.5081, allocations: 25.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.5083, allocations: 318.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000924/0.5092, allocations: 139.9 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/0.5102, allocations: 143.9 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.512, allocations: 300.7 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.512, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002317/0.5144, allocations: 333.5 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.5144, allocations: 6.219 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.5144, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.5144, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.5173, allocations: 59.88 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5173, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.5198, allocations: 51.94 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.5199, allocations: 4 kB / 1.332 GB, free: 11.52 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.000332/0.5202, allocations: 121.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.5204, allocations: 3.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.5206, allocations: 20.38 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5206, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5206, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5206, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00899/0.5296, allocations: 0.7123 MB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.5296, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.5314, allocations: 51.94 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.5314, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/0.5315, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.5315, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5315, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.5332, allocations: 333 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.5332, allocations: 7.984 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.5333, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.5349, allocations: 47.89 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.535, allocations: 12.34 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.535, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001157/0.5351, allocations: 95.27 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5351, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007669/0.5359, allocations: 91.94 kB / 1.334 GB, free: 9.941 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.000386/0.5363, allocations: 119.2 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.538, allocations: 239.8 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.538, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.5386, allocations: 100 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.5391, allocations: 8 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.5434, allocations: 306.5 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.5435, allocations: 68.09 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008054/0.5443, allocations: 56.45 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/0.545, allocations: 15.42 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of SimCode: time 8.41e-07/0.545, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of Templates: time 0.01675/0.5618, allocations: 9.765 MB / 1.344 GB, free: 15.17 MB / 1.045 GB " [Timeout remaining time 299] 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 cvode -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.90139488899149]