Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001914/0.001914, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002467/0.002467, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.654/1.654, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.803/2.803, allocations: 475.9 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [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.002116/0.002116, allocations: 69.8 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001711/0.3258, allocations: 0.6132 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3277, allocations: 1.309 MB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.3277, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.3278, allocations: 3.938 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.753e-05/0.3278, allocations: 0 / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.3282, allocations: 87.66 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.3282, allocations: 27.92 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.3283, allocations: 0 / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.3283, allocations: 8 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.3284, allocations: 19.91 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3284, allocations: 4 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.3287, allocations: 107.9 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3287, allocations: 4 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.3287, allocations: 11.92 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.3289, allocations: 79.72 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3289, allocations: 0 / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3289, allocations: 3.984 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3289, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004761/0.3294, allocations: 270.2 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3294, allocations: 11.97 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3294, allocations: 12.89 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3295, allocations: 110.5 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.3295, allocations: 4.375 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3296, allocations: 4.359 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3297, allocations: 79.7 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3297, allocations: 4 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3297, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3297, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.3298, allocations: 23.97 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.33, allocations: 121.2 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3301, allocations: 58.56 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.3301, allocations: 24.84 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3304, allocations: 39.91 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3304, allocations: 34.55 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3304, allocations: 0 / 1.286 GB, free: 8.73 MB / 0.9825 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02087/0.3513, allocations: 4.175 MB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3513, allocations: 55.41 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3514, allocations: 93.84 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.3515, allocations: 29.7 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.3516, allocations: 88.06 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3517, allocations: 63.44 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.3519, allocations: 89.67 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3521, allocations: 326.9 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.3527, allocations: 307.9 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.3533, allocations: 314.2 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.355, allocations: 0.7663 MB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.355, allocations: 0 / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001711/0.3567, allocations: 0.8046 MB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3567, allocations: 4 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3567, allocations: 0 / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.3567, allocations: 11.92 kB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.3576, allocations: 91.89 kB / 1.293 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3576, allocations: 400 / 1.293 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.3582, allocations: 12 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.3583, allocations: 35.97 kB / 1.293 GB, free: 1.344 MB / 0.9825 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 (18): * Single equations (assignments): 18 * 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.0002044/0.3585, allocations: 121.8 kB / 1.293 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.3586, allocations: 7.938 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.3618, allocations: 1.403 MB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3618, allocations: 4 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3618, allocations: 4 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3618, allocations: 7.922 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.365, allocations: 1.665 MB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.365, allocations: 3.984 kB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/0.3658, allocations: 107.9 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.3659, allocations: 4 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.3659, allocations: 24 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3659, allocations: 4 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3659, allocations: 7.969 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.3687, allocations: 1.47 MB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.3687, allocations: 19.88 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.084e-05/0.3688, allocations: 4 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.3694, allocations: 12 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.3696, allocations: 47.89 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.3696, allocations: 35.98 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.3697, allocations: 75.28 kB / 1.298 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3697, allocations: 0 / 1.298 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006104/0.3703, allocations: 179.8 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0005803/0.3709, allocations: 230.8 kB / 1.298 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.3723, allocations: 0.7145 MB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3723, allocations: 0 / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.373, allocations: 403.7 kB / 1.299 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.3733, allocations: 12 kB / 1.299 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.3769, allocations: 0.7924 MB / 1.3 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.377, allocations: 107.5 kB / 1.3 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001071/0.3781, allocations: 293.5 kB / 1.301 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/0.3787, allocations: 91.41 kB / 1.301 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/0.3787, allocations: 0 / 1.301 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of Templates: time 0.01875/0.3974, allocations: 12.03 MB / 1.312 GB, free: 13.43 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.365415919572115]