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.001578/0.001578, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001513/0.001513, allocations: 208.9 kB / 23 MB, free: 4.934 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.781 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.274/3.274, 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.002043/0.002043, allocations: 72.53 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0022/0.3662, allocations: 0.6334 MB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004865/0.3667, allocations: 179.6 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.3667, allocations: 0 / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.3667, allocations: 7.938 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3669, allocations: 15.92 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.3671, allocations: 63.77 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.3672, allocations: 27.97 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.3672, allocations: 3.984 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.3673, allocations: 19.88 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.3673, allocations: 23.89 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3673, allocations: 4 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3675, allocations: 51.89 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.3675, allocations: 11.94 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.3675, allocations: 11.92 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.3677, allocations: 95.66 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3677, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3677, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3677, allocations: 0 / 1.328 GB, free: 15.91 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.0006159/0.3683, allocations: 290.1 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3684, allocations: 8.031 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3684, allocations: 4.938 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.3686, allocations: 126.4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3686, allocations: 384 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.3686, allocations: 8.359 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3688, allocations: 58.16 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3688, allocations: 4.125 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3688, allocations: 11.94 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3688, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.369, allocations: 27.97 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.3692, allocations: 192.6 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3694, allocations: 70.59 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.055e-05/0.3695, allocations: 24.88 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3695, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3696, allocations: 34.56 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3696, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.03185/0.4014, allocations: 1.609 MB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.4015, allocations: 55.39 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4016, allocations: 125.7 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.4017, allocations: 25.7 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.4018, allocations: 88.08 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/0.4019, allocations: 27.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.4021, allocations: 25.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4022, allocations: 318.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.4027, allocations: 143.9 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.4033, allocations: 143.9 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.4043, allocations: 297.3 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4043, allocations: 3.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001286/0.4056, allocations: 341.4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4056, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4056, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4056, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.4073, allocations: 71.92 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4073, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4088, allocations: 43.95 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.4089, allocations: 7.984 kB / 1.332 GB, free: 11.59 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.000225/0.4091, allocations: 117.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.4092, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.4093, allocations: 16.38 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4093, allocations: 7.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4093, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.4093, allocations: 7.938 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.4094, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.411, allocations: 43.95 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.411, allocations: 11.92 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002774/0.4138, allocations: 449.2 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001358/0.4152, allocations: 0.5027 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005234/0.4157, allocations: 147.9 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.402e-05/0.4158, allocations: 91.28 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of Backend: time 3.3e-07/0.4158, allocations: 0 / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.4169, allocations: 251.8 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007382/0.4177, allocations: 0.5798 MB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of Templates: time 0.02002/0.4377, allocations: 11.5 MB / 1.346 GB, free: 13.72 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 -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.80546993399912]