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.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.001281/0.001281, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001345/0.001345, allocations: 186 kB / 20.78 MB, free: 1.547 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.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.6 MB / 0.7628 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 79.88 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9711/0.9731, allocations: 168.7 MB / 1.272 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002492/0.9756, allocations: 0.6414 MB / 1.273 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.9778, allocations: 1.292 MB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.9779, allocations: 0 / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.9779, allocations: 0.875 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.9779, allocations: 0 / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.9785, allocations: 82.17 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.9785, allocations: 18.78 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.9786, allocations: 7.219 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.9786, allocations: 15.09 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.9787, allocations: 12.23 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.9787, allocations: 1.812 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.9791, allocations: 101.4 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.9791, allocations: 4.031 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.9791, allocations: 13.92 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.9793, allocations: 70.62 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9793, allocations: 0.8125 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9793, allocations: 0 / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9793, allocations: 0.6875 kB / 1.274 GB, free: 6.504 MB / 0.9981 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.0004865/0.9798, allocations: 354 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.9798, allocations: 12.88 kB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.9799, allocations: 4.391 kB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.98, allocations: 170 kB / 1.275 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.98, allocations: 2.062 kB / 1.275 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.9801, allocations: 8.141 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.9802, allocations: 52.67 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.9802, allocations: 4 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.9802, allocations: 4.938 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.9802, allocations: 0.9062 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.9803, allocations: 22.77 kB / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.9805, allocations: 162.3 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.9807, allocations: 59.28 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.9807, allocations: 30.75 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/0.9812, allocations: 0.5595 MB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.9812, allocations: 36.28 kB / 1.276 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.9812, allocations: 0 / 1.276 GB, free: 4.914 MB / 0.9981 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.02244/1.004, allocations: 4.378 MB / 1.28 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.004, allocations: 55.34 kB / 1.28 GB, free: 3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/1.004, allocations: 94.14 kB / 1.28 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/1.004, allocations: 29.7 kB / 1.28 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.581e-05/1.004, allocations: 80.14 kB / 1.28 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/1.004, allocations: 59.31 kB / 1.28 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/1.004, allocations: 94.28 kB / 1.28 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/1.004, allocations: 323.8 kB / 1.281 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/1.005, allocations: 306.1 kB / 1.281 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/1.005, allocations: 316.8 kB / 1.281 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/1.007, allocations: 0.7678 MB / 1.282 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.007, allocations: 0 / 1.282 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001834/1.009, allocations: 0.802 MB / 1.283 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.009, allocations: 4.516 kB / 1.283 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.009, allocations: 0 / 1.283 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/1.009, allocations: 5.719 kB / 1.283 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/1.01, allocations: 93.67 kB / 1.283 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.01, allocations: 5.234 kB / 1.283 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/1.01, allocations: 11.59 kB / 1.283 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.011, allocations: 36.47 kB / 1.283 GB, free: 1.449 MB / 0.9981 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.0002007/1.011, allocations: 121.2 kB / 1.283 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/1.011, allocations: 8.984 kB / 1.283 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/1.014, allocations: 1.4 MB / 1.284 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.015, allocations: 3.656 kB / 1.284 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.015, allocations: 1.062 kB / 1.284 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.015, allocations: 6.156 kB / 1.284 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/1.019, allocations: 1.822 MB / 1.286 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.019, allocations: 3.406 kB / 1.286 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/1.02, allocations: 107.7 kB / 1.286 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/1.02, allocations: 1.344 kB / 1.286 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.02, allocations: 31.41 kB / 1.286 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-06/1.02, allocations: 2.406 kB / 1.286 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.02, allocations: 2 kB / 1.286 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/1.023, allocations: 1.474 MB / 1.288 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/1.023, allocations: 93.89 kB / 1.288 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.024, allocations: 11.78 kB / 1.288 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/1.024, allocations: 10.64 kB / 1.288 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.024, allocations: 43.06 kB / 1.288 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/1.024, allocations: 33.09 kB / 1.288 GB, free: 14.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.631e-05/1.024, allocations: 76.03 kB / 1.288 GB, free: 14.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/1.024, allocations: 0 / 1.288 GB, free: 14.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008291/1.025, allocations: 179.8 kB / 1.288 GB, free: 14.6 MB / 1.014 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.0008528/1.026, allocations: 230.9 kB / 1.288 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001645/1.028, allocations: 0.7136 MB / 1.289 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.028, allocations: 0 / 1.289 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/1.028, allocations: 397 kB / 1.289 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/1.029, allocations: 22.41 kB / 1.29 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/1.032, allocations: 0.8215 MB / 1.29 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/1.032, allocations: 0.7125 MB / 1.291 GB, free: 12.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001217/1.034, allocations: 297.8 kB / 1.291 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/1.034, allocations: 97.89 kB / 1.291 GB, free: 12.77 MB / 1.014 GB Notification: Performance of SimCode: time 1.723e-06/1.034, allocations: 0 / 1.291 GB, free: 12.77 MB / 1.014 GB Notification: Performance of Templates: time 0.02819/1.063, allocations: 11.68 MB / 1.303 GB, free: 12.06 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.034702863544226]