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.001369/0.001369, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001453/0.001453, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.86/2.86, allocations: 0.49 GB / 0.7923 GB, free: 1.488 MB / 0.6231 GB " [Timeout remaining time 176] 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.002001/0.002001, allocations: 67.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9814/0.9834, allocations: 176.1 MB / 1.322 GB, free: 25.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001937/0.9853, allocations: 0.6225 MB / 1.323 GB, free: 24.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.9871, allocations: 1.365 MB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.9871, allocations: 2.5 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.9871, allocations: 3.938 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.722e-05/0.9871, allocations: 0 / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.9876, allocations: 83.55 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.9877, allocations: 29.8 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.962e-05/0.9877, allocations: 2.906 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.9878, allocations: 12.91 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.9878, allocations: 20.25 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.9879, allocations: 0 / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.9882, allocations: 111 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.9882, allocations: 6.438 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.9882, allocations: 9.625 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.9884, allocations: 80.78 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9884, allocations: 0 / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9884, allocations: 4 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9884, allocations: 0 / 1.324 GB, free: 23.77 MB / 1.061 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.0004488/0.9888, allocations: 357.3 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.9889, allocations: 12.48 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.9889, allocations: 3.812 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.545e-05/0.989, allocations: 164.3 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.989, allocations: 7.281 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.9891, allocations: 7.156 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.9892, allocations: 61.92 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.9892, allocations: 0 / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.9892, allocations: 0 / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9892, allocations: 0 / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.9893, allocations: 28.86 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.9895, allocations: 165.5 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.9896, allocations: 61.42 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.9897, allocations: 34.62 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.9901, allocations: 0.5551 MB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.9901, allocations: 38.5 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.9901, allocations: 0 / 1.326 GB, free: 22.16 MB / 1.061 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.02068/1.011, allocations: 4.389 MB / 1.33 GB, free: 20.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/1.011, allocations: 53.12 kB / 1.33 GB, free: 20.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/1.011, allocations: 92.97 kB / 1.33 GB, free: 20.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/1.011, allocations: 30.89 kB / 1.33 GB, free: 20.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/1.011, allocations: 80.8 kB / 1.33 GB, free: 20.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.011, allocations: 59.05 kB / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/1.011, allocations: 89.81 kB / 1.33 GB, free: 19.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/1.011, allocations: 323.8 kB / 1.331 GB, free: 19.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/1.012, allocations: 306.6 kB / 1.331 GB, free: 19.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/1.013, allocations: 313.9 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/1.014, allocations: 0.7751 MB / 1.332 GB, free: 19.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.014, allocations: 0.9375 kB / 1.332 GB, free: 19.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001873/1.016, allocations: 0.7977 MB / 1.333 GB, free: 18.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.016, allocations: 5.688 kB / 1.333 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.016, allocations: 7.938 kB / 1.333 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.016, allocations: 1.625 kB / 1.333 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/1.017, allocations: 94.55 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.017, allocations: 1.547 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/1.018, allocations: 9.688 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.018, allocations: 33.42 kB / 1.333 GB, free: 18.71 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.0001771/1.018, allocations: 122.3 kB / 1.333 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/1.018, allocations: 8.141 kB / 1.333 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/1.021, allocations: 1.401 MB / 1.334 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.021, allocations: 4.656 kB / 1.334 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.021, allocations: 4 kB / 1.334 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/1.021, allocations: 3.844 kB / 1.334 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/1.024, allocations: 1.81 MB / 1.336 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.024, allocations: 0.7031 kB / 1.336 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008518/1.025, allocations: 110.6 kB / 1.336 GB, free: 16.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.025, allocations: 1.375 kB / 1.336 GB, free: 16.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/1.025, allocations: 30.89 kB / 1.336 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.025, allocations: 1.469 kB / 1.336 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.025, allocations: 1.922 kB / 1.336 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/1.027, allocations: 1.475 MB / 1.338 GB, free: 16.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/1.027, allocations: 96.84 kB / 1.338 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/1.027, allocations: 8.641 kB / 1.338 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/1.028, allocations: 10.28 kB / 1.338 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.028, allocations: 47.94 kB / 1.338 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/1.028, allocations: 32.48 kB / 1.338 GB, free: 15.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.942e-05/1.028, allocations: 75.28 kB / 1.338 GB, free: 15.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.028, allocations: 160 / 1.338 GB, free: 15.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006559/1.029, allocations: 188 kB / 1.338 GB, free: 15.86 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.0005461/1.03, allocations: 232.3 kB / 1.339 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.031, allocations: 0.7202 MB / 1.339 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.031, allocations: 0.9375 kB / 1.339 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/1.031, allocations: 400.9 kB / 1.34 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/1.032, allocations: 21.61 kB / 1.34 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/1.035, allocations: 0.8366 MB / 1.34 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/1.036, allocations: 0.7138 MB / 1.341 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/1.036, allocations: 96.08 kB / 1.341 GB, free: 14.16 MB / 1.061 GB Notification: Performance of SimCode: time 8.51e-07/1.036, allocations: 0 / 1.341 GB, free: 14.16 MB / 1.061 GB Notification: Performance of Templates: time 0.01428/1.05, allocations: 7.092 MB / 1.348 GB, free: 13.61 MB / 1.061 GB " [Timeout remaining time 299] 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.689827789014089] Failed to read output from testmodel.py, exit status != 0: 1.059166887003812 1.07146367 0.08045759699999994 Calling exit ...