Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001487/0.001487, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002124/0.002124, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.483/1.483, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002376/0.002376, allocations: 242.2 kB / 259.4 MB, free: 460 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.068/1.068, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6469 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.345e-05, allocations: 2.281 kB / 0.6469 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001536/0.00156, allocations: 0.6198 MB / 0.6475 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.003444, allocations: 1.316 MB / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.003465, allocations: 0 / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.003478, allocations: 3.938 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.057e-05/0.003499, allocations: 0 / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.003891, allocations: 79.66 kB / 0.6488 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.039e-05/0.003951, allocations: 27.97 kB / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.003988, allocations: 3.938 kB / 0.6489 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.004025, allocations: 15.98 kB / 0.6489 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.0041, allocations: 11.97 kB / 0.6489 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.004114, allocations: 0 / 0.6489 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.004396, allocations: 111.8 kB / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.004416, allocations: 15.91 kB / 0.649 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.004439, allocations: 8 kB / 0.649 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.004647, allocations: 83.81 kB / 0.6491 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004649, allocations: 0 / 0.6491 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004649, allocations: 0 / 0.6491 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004653, allocations: 4 kB / 0.6491 GB, free: 2.629 MB / 0.5606 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.000454/0.005107, allocations: 282.1 kB / 0.6494 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.005142, allocations: 8.75 kB / 0.6494 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.005179, allocations: 8.891 kB / 0.6494 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.005279, allocations: 101.8 kB / 0.6495 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.005291, allocations: 4.312 kB / 0.6495 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.00532, allocations: 8.375 kB / 0.6495 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.005479, allocations: 75.94 kB / 0.6496 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.005491, allocations: 192 / 0.6496 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.005509, allocations: 12.38 kB / 0.6496 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.005517, allocations: 3.938 kB / 0.6496 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.005586, allocations: 23.92 kB / 0.6496 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.005752, allocations: 109.3 kB / 0.6497 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.005884, allocations: 58.62 kB / 0.6498 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.005931, allocations: 24.84 kB / 0.6498 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.006189, allocations: 31.97 kB / 0.6498 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.006222, allocations: 38.56 kB / 0.6499 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.006223, allocations: 3.938 kB / 0.6499 GB, free: 1.734 MB / 0.5606 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.2757/0.2819, allocations: 4.169 MB / 0.6539 GB, free: 55.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.2819, allocations: 54.47 kB / 0.654 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.603e-05/0.282, allocations: 94.17 kB / 0.6541 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/0.2821, allocations: 33.45 kB / 0.6541 GB, free: 55.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 1.094e-05/0.2821, allocations: 80.14 kB / 0.6542 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2822, allocations: 60.17 kB / 0.6542 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.2824, allocations: 88.12 kB / 0.6543 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.2824, allocations: 321.3 kB / 0.6546 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.2829, allocations: 311.7 kB / 0.6549 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.2834, allocations: 310.4 kB / 0.6552 GB, free: 54.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.2848, allocations: 0.7717 MB / 0.656 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2848, allocations: 2.938 kB / 0.656 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001422/0.2862, allocations: 0.8079 MB / 0.6568 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2862, allocations: 5.844 kB / 0.6568 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2862, allocations: 0 / 0.6568 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2862, allocations: 3.031 kB / 0.6568 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/0.2871, allocations: 89.05 kB / 0.6569 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2871, allocations: 0 / 0.6569 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.2876, allocations: 10.41 kB / 0.6569 GB, free: 54.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/0.2877, allocations: 36.23 kB / 0.6569 GB, free: 54.29 MB / 0.5606 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.0001716/0.2879, allocations: 120.1 kB / 0.657 GB, free: 54.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.288, allocations: 11.55 kB / 0.657 GB, free: 54.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.2908, allocations: 1.396 MB / 0.6584 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.2908, allocations: 6.094 kB / 0.6584 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2908, allocations: 3.172 kB / 0.6584 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2908, allocations: 4.922 kB / 0.6584 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.2933, allocations: 1.661 MB / 0.66 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2933, allocations: 3.25 kB / 0.66 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/0.2941, allocations: 111.8 kB / 0.6601 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2941, allocations: 3.312 kB / 0.6601 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.2942, allocations: 24.16 kB / 0.6602 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2942, allocations: 0 / 0.6602 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2942, allocations: 5.875 kB / 0.6602 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.2963, allocations: 1.478 MB / 0.6616 GB, free: 51.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.2963, allocations: 16.27 kB / 0.6616 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.2964, allocations: 10.81 kB / 0.6616 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.2969, allocations: 10.19 kB / 0.6617 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.2971, allocations: 45.31 kB / 0.6617 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.2972, allocations: 31.84 kB / 0.6617 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.821e-05/0.2972, allocations: 78.8 kB / 0.6618 GB, free: 51.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2972, allocations: 0 / 0.6618 GB, free: 51.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005321/0.2977, allocations: 183.4 kB / 0.662 GB, free: 51.8 MB / 0.5606 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.000505/0.2982, allocations: 249.7 kB / 0.6622 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.2993, allocations: 0.7197 MB / 0.6629 GB, free: 51.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.2993, allocations: 2.719 kB / 0.6629 GB, free: 51.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.2998, allocations: 400.9 kB / 0.6633 GB, free: 51.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3002, allocations: 12.34 kB / 0.6633 GB, free: 51.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.3035, allocations: 0.7902 MB / 0.6641 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.875e-05/0.3036, allocations: 115 kB / 0.6642 GB, free: 50.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009252/0.3045, allocations: 289.2 kB / 0.6645 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/0.3051, allocations: 98.09 kB / 0.6646 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.3051, allocations: 0 / 0.6646 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.01869/0.3238, allocations: 11.98 MB / 0.6763 GB, free: 49.62 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.226153120398521] Failed to read output from testmodel.py, exit status != 0: 0.3315751366317272 0.343854358 0.336655715 Calling exit ...