Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001569/0.001569, allocations: 114.8 kB / 17.08 MB, free: 5.988 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.00159/0.00159, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.464/1.464, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 67.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 151.6 MB / 1.176 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001803/0.2991, allocations: 0.6171 MB / 1.176 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.301, allocations: 1.283 MB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.301, allocations: 0 / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.3011, allocations: 0 / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.006e-05/0.3011, allocations: 0 / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.3015, allocations: 79.73 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.3016, allocations: 31.84 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.3017, allocations: 0 / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.3017, allocations: 8 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.3018, allocations: 19.92 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3018, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.3021, allocations: 99.88 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.3021, allocations: 8 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.3021, allocations: 11.91 kB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3023, allocations: 75.73 kB / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3023, allocations: 0 / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3023, allocations: 0 / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3023, allocations: 4 kB / 1.178 GB, free: 3.598 MB / 0.92 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.0005298/0.3029, allocations: 347.3 kB / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3029, allocations: 8.031 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.303, allocations: 0.9375 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3032, allocations: 176.2 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3032, allocations: 4.375 kB / 1.179 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.3032, allocations: 12.33 kB / 1.179 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3034, allocations: 61.92 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3034, allocations: 0 / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3034, allocations: 0 / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3034, allocations: 0 / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.3035, allocations: 27.98 kB / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.3037, allocations: 169.6 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3038, allocations: 66.56 kB / 1.179 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.3039, allocations: 28.84 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005549/0.3045, allocations: 0.5544 MB / 1.179 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3045, allocations: 34.5 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.3045, allocations: 0 / 1.18 GB, free: 1.836 MB / 0.92 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.02028/0.3248, allocations: 4.37 MB / 1.184 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3249, allocations: 59.31 kB / 1.184 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.325, allocations: 89.86 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.325, allocations: 29.7 kB / 1.184 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.3251, allocations: 84.27 kB / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3252, allocations: 63.47 kB / 1.184 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.3255, allocations: 93.61 kB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3256, allocations: 322.8 kB / 1.184 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/0.3262, allocations: 307.9 kB / 1.185 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.3267, allocations: 307.9 kB / 1.185 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.3284, allocations: 0.7763 MB / 1.186 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3284, allocations: 0 / 1.186 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001672/0.3301, allocations: 0.8045 MB / 1.187 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3301, allocations: 4 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3301, allocations: 0 / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3301, allocations: 3.938 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.331, allocations: 95.88 kB / 1.187 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.331, allocations: 4 kB / 1.187 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.3315, allocations: 8 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/0.3316, allocations: 32.3 kB / 1.187 GB, free: 10.2 MB / 0.9356 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.0002305/0.3318, allocations: 125.8 kB / 1.187 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.3319, allocations: 11.95 kB / 1.187 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.3353, allocations: 1.396 MB / 1.188 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3353, allocations: 4 kB / 1.188 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3353, allocations: 0 / 1.188 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3353, allocations: 3.984 kB / 1.188 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.3384, allocations: 1.818 MB / 1.19 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3385, allocations: 0 / 1.19 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.3393, allocations: 107.9 kB / 1.19 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3393, allocations: 4 kB / 1.19 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.3394, allocations: 27.94 kB / 1.19 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3394, allocations: 4 kB / 1.19 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3394, allocations: 0 / 1.19 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.342, allocations: 1.466 MB / 1.192 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.3421, allocations: 89.03 kB / 1.192 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.3421, allocations: 15.94 kB / 1.192 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.3427, allocations: 12 kB / 1.192 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.3429, allocations: 47.95 kB / 1.192 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.3429, allocations: 28 kB / 1.192 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.343, allocations: 79.34 kB / 1.192 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.343, allocations: 0 / 1.192 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005931/0.3436, allocations: 183.7 kB / 1.192 GB, free: 4.672 MB / 0.9356 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.0005471/0.3442, allocations: 227.4 kB / 1.192 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.3455, allocations: 0.73 MB / 1.193 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3455, allocations: 0 / 1.193 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.3463, allocations: 455.7 kB / 1.193 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3466, allocations: 16.09 kB / 1.193 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.3501, allocations: 0.8368 MB / 1.194 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3505, allocations: 0.7181 MB / 1.195 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.351, allocations: 95.41 kB / 1.195 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.351, allocations: 0 / 1.195 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of Templates: time 0.01137/0.3624, allocations: 6.901 MB / 1.202 GB, free: 10.71 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.518593459040858] Failed to read output from testmodel.py, exit status != 0: 0.3698825679020956 0.38355368700000003 0.078422665 Calling exit ...