Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000885/0.000885, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 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.000924/0.000924, allocations: 168.8 kB / 25.17 MB, free: 8.324 MB / 18.57 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 0.9319/0.9319, allocations: 177.1 MB / 205.6 MB, free: 4.008 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.98/1.98, allocations: 389.6 MB / 0.6364 GB, free: 13.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 3.984 kB / 0.7756 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.636e-05, allocations: 6.25 kB / 0.7756 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001093/0.001109, allocations: 0.6774 MB / 0.7763 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.002586, allocations: 1.349 MB / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.002611, allocations: 0 / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.002627, allocations: 3.938 kB / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.5e-05/0.002652, allocations: 0 / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.002964, allocations: 75.59 kB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.003015, allocations: 19.98 kB / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.003048, allocations: 3.938 kB / 0.7777 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/0.003089, allocations: 19.97 kB / 0.7777 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.003149, allocations: 7.984 kB / 0.7777 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.00316, allocations: 4 kB / 0.7777 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.003402, allocations: 119.8 kB / 0.7779 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.003417, allocations: 15.91 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.003435, allocations: 8 kB / 0.7779 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.003566, allocations: 87.75 kB / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003568, allocations: 0 / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003568, allocations: 0 / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003571, allocations: 0 / 0.778 GB, free: 12.06 MB / 0.7448 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.0002952/0.003867, allocations: 248.8 kB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.003895, allocations: 12.03 kB / 0.7782 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.00392, allocations: 4.938 kB / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.004001, allocations: 121.6 kB / 0.7783 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.004012, allocations: 12.31 kB / 0.7783 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.004034, allocations: 4.375 kB / 0.7783 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.723e-05/0.004111, allocations: 71.94 kB / 0.7784 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.004119, allocations: 192 / 0.7784 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.004125, allocations: 384 / 0.7784 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004131, allocations: 7.938 kB / 0.7784 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.004167, allocations: 11.98 kB / 0.7784 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.997e-05/0.004247, allocations: 65.05 kB / 0.7785 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.981e-05/0.004317, allocations: 58.56 kB / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.004336, allocations: 16.86 kB / 0.7786 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.004486, allocations: 39.95 kB / 0.7786 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.004505, allocations: 34.72 kB / 0.7786 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.004506, allocations: 0 / 0.7786 GB, free: 11.27 MB / 0.7448 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.01407/0.01858, allocations: 8.503 MB / 0.7869 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.01861, allocations: 51.41 kB / 0.787 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.01866, allocations: 106.7 kB / 0.7871 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.01873, allocations: 25.7 kB / 0.7871 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.082e-05/0.01876, allocations: 84.08 kB / 0.7872 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.01887, allocations: 71.39 kB / 0.7873 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.0191, allocations: 53.59 kB / 0.7873 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.01917, allocations: 323 kB / 0.7876 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.01968, allocations: 0.664 MB / 0.7883 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.02016, allocations: 0.6718 MB / 0.7889 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.02123, allocations: 1.434 MB / 0.7903 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.02123, allocations: 0 / 0.7903 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001226/0.02246, allocations: 1.427 MB / 0.7917 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.02247, allocations: 7.938 kB / 0.7917 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.02248, allocations: 0 / 0.7917 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.02249, allocations: 4 kB / 0.7917 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.02312, allocations: 83.75 kB / 0.7918 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.02313, allocations: 0 / 0.7918 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.02344, allocations: 24 kB / 0.7918 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.02352, allocations: 19.94 kB / 0.7919 GB, free: 13.57 MB / 0.7605 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.0001806/0.0237, allocations: 113.8 kB / 0.792 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.02383, allocations: 19.92 kB / 0.792 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.02727, allocations: 1.977 MB / 0.7939 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.02728, allocations: 12 kB / 0.7939 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.02728, allocations: 0 / 0.7939 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.02729, allocations: 3.984 kB / 0.7939 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.02945, allocations: 1.862 MB / 0.7958 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.02945, allocations: 0 / 0.7958 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/0.0302, allocations: 159.8 kB / 0.7959 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.0302, allocations: 7.984 kB / 0.7959 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/0.03027, allocations: 20.03 kB / 0.7959 GB, free: 9.359 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.03028, allocations: 11.92 kB / 0.7959 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03028, allocations: 0 / 0.7959 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.03182, allocations: 1.644 MB / 0.7975 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.03185, allocations: 39.62 kB / 0.7976 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.03196, allocations: 19.98 kB / 0.7976 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.03229, allocations: 24 kB / 0.7976 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.03243, allocations: 48.89 kB / 0.7977 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/0.03251, allocations: 23.98 kB / 0.7977 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.505e-06/0.03252, allocations: 8.891 kB / 0.7977 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03252, allocations: 3.938 kB / 0.7977 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004541/0.03297, allocations: 255.7 kB / 0.798 GB, free: 7.266 MB / 0.7605 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 (89): * Single equations (assignments): 89 * 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.0003447/0.03332, allocations: 255.8 kB / 0.7982 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.03445, allocations: 1.23 MB / 0.7994 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.03445, allocations: 0 / 0.7994 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/0.03495, allocations: 0.5512 MB / 0.7999 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.0352, allocations: 39.92 kB / 0.8 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.0375, allocations: 1.09 MB / 0.801 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.665e-05/0.03759, allocations: 161.8 kB / 0.8012 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.03862, allocations: 135.3 kB / 0.8013 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.03862, allocations: 4 kB / 0.8013 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of Templates: time 0.3484/0.387, allocations: 14.57 MB / 0.8156 GB, free: 37.16 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.2741363095119596]