Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001857/0.001857, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002289/0.002289, allocations: 212.1 kB / 23.01 MB, free: 4.566 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.202/3.202, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002106/0.002106, allocations: 75.7 kB / 1.178 GB, free: 16.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3909, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002008/0.3929, allocations: 0.6279 MB / 1.355 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3949, allocations: 1.373 MB / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.3949, allocations: 0 / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.3949, allocations: 0 / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.272e-05/0.395, allocations: 3.938 kB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.3954, allocations: 79.72 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.3954, allocations: 19.98 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.3955, allocations: 3.984 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.3955, allocations: 19.94 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.3956, allocations: 11.98 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3956, allocations: 0 / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.3959, allocations: 123.8 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.3959, allocations: 11.94 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.396, allocations: 7.938 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.3962, allocations: 79.7 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3962, allocations: 4 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3962, allocations: 0 / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.3962, allocations: 0 / 1.356 GB, free: 5.551 MB / 1.045 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.0004812/0.3967, allocations: 286.1 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3967, allocations: 8.031 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.3967, allocations: 4.938 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.3968, allocations: 102.5 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3968, allocations: 4.375 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.3969, allocations: 8.375 kB / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.397, allocations: 57.91 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.397, allocations: 7.953 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3971, allocations: 8 kB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3971, allocations: 0 / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.3971, allocations: 19.98 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.3973, allocations: 140.7 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3974, allocations: 50.55 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.3975, allocations: 24.86 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.3978, allocations: 51.89 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3978, allocations: 34.5 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3978, allocations: 0 / 1.357 GB, free: 4.637 MB / 1.045 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.01946/0.4172, allocations: 4.171 MB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.4173, allocations: 51.41 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.4174, allocations: 93.86 kB / 1.361 GB, free: 208 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.4175, allocations: 29.7 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.4175, allocations: 88.06 kB / 1.362 GB, free: 80 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.4176, allocations: 59.48 kB / 1.362 GB, free: 20 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.4179, allocations: 97.78 kB / 1.362 GB, free: 15.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.418, allocations: 318.8 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.4185, allocations: 307.9 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.419, allocations: 307.9 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4206, allocations: 0.7754 MB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4206, allocations: 0 / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001562/0.4221, allocations: 0.804 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4221, allocations: 4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4222, allocations: 4 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4222, allocations: 0 / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.423, allocations: 91.95 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.423, allocations: 7.984 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.4235, allocations: 8 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.4235, allocations: 31.98 kB / 1.364 GB, free: 13.27 MB / 1.061 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.0002066/0.4237, allocations: 130.3 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.4238, allocations: 7.953 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.4269, allocations: 1.396 MB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.427, allocations: 7.984 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.427, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.427, allocations: 3.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.4301, allocations: 1.786 MB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4301, allocations: 4.031 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.4309, allocations: 107.9 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.4309, allocations: 4 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.431, allocations: 35.86 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.431, allocations: 4 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.431, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.4334, allocations: 1.455 MB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.4335, allocations: 23.92 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.4336, allocations: 15.94 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.4341, allocations: 12 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4342, allocations: 43.89 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.688e-05/0.4343, allocations: 28 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.4343, allocations: 75.28 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4343, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006321/0.4349, allocations: 195.6 kB / 1.369 GB, free: 7.848 MB / 1.061 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.0005452/0.4355, allocations: 226.8 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.4368, allocations: 0.7145 MB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4368, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006439/0.4374, allocations: 404 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4377, allocations: 16 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.441, allocations: 0.8368 MB / 1.372 GB, free: 5.621 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4414, allocations: 0.7142 MB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.4419, allocations: 91.41 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.4419, allocations: 4 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of Templates: time 0.01151/0.4535, allocations: 7.104 MB / 1.379 GB, free: 13.73 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.264270732004661] Failed to read output from testmodel.py, exit status != 0: 0.4626994210120756 0.47705722599999995 0.07777434600000001 Calling exit ...