Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001613/0.001613, allocations: 102.1 kB / 19.7 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.001988/0.001988, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.123/3.123, allocations: 0.49 GB / 0.7958 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_12_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_12_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.00207/0.00207, allocations: 62.91 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3955, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002011/0.3976, allocations: 0.6267 MB / 1.328 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3996, allocations: 1.381 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.3996, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.3996, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.3997, allocations: 3.938 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.4001, allocations: 75.73 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.4002, allocations: 23.97 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.4003, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.952e-05/0.4003, allocations: 15.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.4004, allocations: 19.92 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.4004, allocations: 3.938 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.4007, allocations: 107.9 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.4007, allocations: 15.97 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.4007, allocations: 15.94 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.4009, allocations: 71.72 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4009, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4009, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4009, allocations: 0 / 1.329 GB, free: 15.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005004/0.4014, allocations: 282.2 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4015, allocations: 8.031 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.4015, allocations: 4.938 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.4016, allocations: 102.5 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4016, allocations: 4.375 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.4017, allocations: 8.375 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4018, allocations: 61.91 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4018, allocations: 4 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4018, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4018, allocations: 4 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.4019, allocations: 23.97 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.4021, allocations: 144.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.4022, allocations: 54.56 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.4023, allocations: 28.78 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.4026, allocations: 47.91 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.4026, allocations: 38.48 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4026, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 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.02006/0.4227, allocations: 4.154 MB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.4227, allocations: 51.41 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.4228, allocations: 97.84 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/0.4229, allocations: 29.7 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.4229, allocations: 80.14 kB / 1.335 GB, free: 9.613 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.4231, allocations: 63.47 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.4233, allocations: 89.67 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4235, allocations: 326.9 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.424, allocations: 307.9 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.4246, allocations: 307.9 kB / 1.336 GB, free: 8.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4261, allocations: 0.7719 MB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4262, allocations: 3.938 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001608/0.4278, allocations: 0.8037 MB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4278, allocations: 4 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4278, allocations: 0 / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.4278, allocations: 3.984 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.4286, allocations: 87.95 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4287, allocations: 8 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.4291, allocations: 11.94 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.4292, allocations: 39.91 kB / 1.337 GB, free: 6.789 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 (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.0002285/0.4294, allocations: 122.3 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.4295, allocations: 4 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.4328, allocations: 1.399 MB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4328, allocations: 7.938 kB / 1.339 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4329, allocations: 4 kB / 1.339 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4329, allocations: 3.984 kB / 1.339 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.436, allocations: 1.786 MB / 1.341 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.436, allocations: 0 / 1.341 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.4368, allocations: 111.9 kB / 1.341 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.4368, allocations: 4 kB / 1.341 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.4369, allocations: 27.94 kB / 1.341 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.4369, allocations: 4 kB / 1.341 GB, free: 3.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4369, allocations: 0 / 1.341 GB, free: 3.238 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.4394, allocations: 1.474 MB / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.4394, allocations: 15.88 kB / 1.342 GB, free: 1.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.52e-05/0.4395, allocations: 19.94 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.44, allocations: 15.98 kB / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4401, allocations: 39.95 kB / 1.342 GB, free: 1.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/0.4402, allocations: 32 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.4403, allocations: 75.28 kB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4403, allocations: 0 / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006336/0.4409, allocations: 187.7 kB / 1.342 GB, free: 1.367 MB / 1.029 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.0005477/0.4414, allocations: 226.9 kB / 1.343 GB, free: 1.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.4427, allocations: 0.7106 MB / 1.343 GB, free: 436 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4427, allocations: 4 kB / 1.343 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.4434, allocations: 399.7 kB / 1.344 GB, free: 32 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.4437, allocations: 15.98 kB / 1.344 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.4471, allocations: 0.833 MB / 1.345 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.4475, allocations: 0.7181 MB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/0.448, allocations: 95.41 kB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of SimCode: time 1.212e-06/0.448, allocations: 3.938 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of Templates: time 0.01146/0.4595, allocations: 7.098 MB / 1.352 GB, free: 7.266 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.312661433010362] Failed to read output from testmodel.py, exit status != 0: 0.4678692570014391 0.48263881299999994 0.078638345 Calling exit ...