Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.00163, allocations: 117 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 79.88 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3308, allocations: 151.6 MB / 1.176 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00173/0.3326, allocations: 0.6349 MB / 1.177 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.3331, allocations: 195.6 kB / 1.177 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.3331, allocations: 4 kB / 1.177 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.3331, allocations: 3.938 kB / 1.177 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3333, allocations: 7.922 kB / 1.177 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3335, allocations: 79.75 kB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.3336, allocations: 27.92 kB / 1.177 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.3336, allocations: 4 kB / 1.177 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.3337, allocations: 15.91 kB / 1.177 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.3337, allocations: 27.86 kB / 1.177 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3338, allocations: 0 / 1.177 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.3339, allocations: 103.8 kB / 1.177 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.334, allocations: 15.91 kB / 1.177 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.334, allocations: 15.88 kB / 1.177 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3342, allocations: 103.7 kB / 1.177 GB, free: 4.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3342, allocations: 4 kB / 1.177 GB, free: 4.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3342, allocations: 0 / 1.177 GB, free: 4.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3342, allocations: 0 / 1.177 GB, free: 4.598 MB / 0.92 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.0005818/0.3348, allocations: 367.2 kB / 1.177 GB, free: 4.188 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3348, allocations: 8.031 kB / 1.177 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.3349, allocations: 8.891 kB / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3351, allocations: 180.2 kB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3351, allocations: 384 / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3351, allocations: 8.375 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3353, allocations: 50.23 kB / 1.178 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3353, allocations: 192 / 1.178 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3353, allocations: 3.938 kB / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3353, allocations: 4 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3355, allocations: 35.95 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.3358, allocations: 248.9 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.336, allocations: 74.47 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.3361, allocations: 20.94 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3361, allocations: 3.984 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3361, allocations: 34.56 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 4.258e-06/0.3362, allocations: 4 kB / 1.178 GB, free: 3.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.02918/0.3653, allocations: 1.616 MB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3654, allocations: 51.41 kB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3655, allocations: 121.8 kB / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.3656, allocations: 29.7 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.3657, allocations: 92.06 kB / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.3658, allocations: 23.81 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.366, allocations: 25.7 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3661, allocations: 322.8 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.3667, allocations: 139.9 kB / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.3672, allocations: 147.9 kB / 1.181 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.3683, allocations: 292.8 kB / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3683, allocations: 0 / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001287/0.3696, allocations: 338 kB / 1.181 GB, free: 176 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3697, allocations: 8 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3697, allocations: 0 / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3697, allocations: 0 / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.3714, allocations: 63.88 kB / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3714, allocations: 96 / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3729, allocations: 51.88 kB / 1.181 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.3729, allocations: 4.422 kB / 1.181 GB, free: 48 kB / 0.92 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.0001961/0.3731, allocations: 121.8 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.3732, allocations: 7.953 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3734, allocations: 16.38 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3734, allocations: 3.984 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3734, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3734, allocations: 4 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006258/0.3796, allocations: 0.8454 MB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3797, allocations: 4 kB / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.3809, allocations: 55.88 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3809, allocations: 4.062 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.381, allocations: 7.984 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.381, allocations: 3.938 kB / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.381, allocations: 80 / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.382, allocations: 333 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.3821, allocations: 85.06 kB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.3822, allocations: 0 / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.3834, allocations: 43.89 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.3834, allocations: 3.984 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.3834, allocations: 8 kB / 1.183 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.928e-05/0.3835, allocations: 99.27 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3835, allocations: 0 / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004023/0.3839, allocations: 87.94 kB / 1.183 GB, free: 14.21 MB / 0.9356 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.0002079/0.3841, allocations: 123.2 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.3852, allocations: 243.8 kB / 1.183 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3852, allocations: 0 / 1.183 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.3857, allocations: 99.88 kB / 1.183 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.386, allocations: 4 kB / 1.183 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.3889, allocations: 328.7 kB / 1.184 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3893, allocations: 0.6905 MB / 1.184 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.3897, allocations: 11.44 kB / 1.184 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3897, allocations: 0 / 1.184 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.008027/0.3978, allocations: 5.057 MB / 1.189 GB, free: 7.57 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.576715372968465]