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.0007102/0.0007102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008997/0.00161, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007084/0.0007084, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008828/0.001591, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9442/0.9442, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08135/1.026, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001213/0.001213, allocations: 234.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009323/0.002145, allocations: 463.6 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6971/0.6971, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07553/0.7726, allocations: 42.39 MB / 426.5 MB, free: 5.941 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.542e-06/1.542e-06, allocations: 0 / 427.9 MB, free: 4.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.855e-06/9.397e-06, allocations: 2.312 kB / 427.9 MB, free: 4.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009163/0.0009257, allocations: 0.6781 MB / 428.5 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002107, allocations: 1.353 MB / 429.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.41e-05/0.002121, allocations: 0 / 429.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.687e-06/0.002125, allocations: 0 / 429.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.546e-06/0.002134, allocations: 3.938 kB / 429.9 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.002323, allocations: 75.59 kB / 430 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.071e-05/0.002374, allocations: 19.98 kB / 430 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.96e-05/0.002404, allocations: 7.984 kB / 430 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.002443, allocations: 19.92 kB / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.002501, allocations: 11.98 kB / 430 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.00251, allocations: 0 / 430 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.002715, allocations: 123.8 kB / 430.1 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.002725, allocations: 7.938 kB / 430.2 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.002738, allocations: 4 kB / 430.2 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.002853, allocations: 71.86 kB / 430.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.002864, allocations: 0 / 430.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002865, allocations: 3.938 kB / 430.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.002876, allocations: 11.94 kB / 430.2 MB, free: 2.141 MB / 410.7 MB 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.0003043/0.00318, allocations: 260.4 kB / 430.5 MB, free: 1.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.003207, allocations: 8.031 kB / 430.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.00323, allocations: 4.938 kB / 430.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.966e-05/0.003289, allocations: 105.8 kB / 430.6 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.003299, allocations: 8.375 kB / 430.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.003318, allocations: 4.375 kB / 430.6 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.003398, allocations: 75.92 kB / 430.7 MB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003405, allocations: 192 / 430.7 MB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.003411, allocations: 4.375 kB / 430.7 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003415, allocations: 3.938 kB / 430.7 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.003449, allocations: 19.92 kB / 430.7 MB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.287e-05/0.003522, allocations: 65.05 kB / 430.8 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.115e-05/0.003593, allocations: 50.62 kB / 430.8 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.003617, allocations: 16.84 kB / 430.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.00378, allocations: 43.97 kB / 430.9 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.003801, allocations: 34.56 kB / 430.9 MB, free: 1.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.003803, allocations: 3.984 kB / 430.9 MB, free: 1.352 MB / 410.7 MB 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.231/0.2348, allocations: 8.622 MB / 439.6 MB, free: 1.848 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.2349, allocations: 58.31 kB / 439.6 MB, free: 1.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.2349, allocations: 99.22 kB / 439.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.445e-05/0.235, allocations: 27.14 kB / 439.7 MB, free: 1.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.235, allocations: 83.81 kB / 439.8 MB, free: 1.566 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2351, allocations: 60.31 kB / 439.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.2354, allocations: 59.47 kB / 439.9 MB, free: 1.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.003e-05/0.2354, allocations: 320.2 kB / 440.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.2359, allocations: 0.6688 MB / 440.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.2363, allocations: 0.6709 MB / 441.6 MB, free: 276 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/0.2406, allocations: 1.842 MB / 443.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2406, allocations: 0.6875 kB / 443.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001139/0.2418, allocations: 1.426 MB / 444.9 MB, free: 14.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2418, allocations: 7.25 kB / 444.9 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2418, allocations: 0.875 kB / 444.9 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2418, allocations: 4 kB / 444.9 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.2425, allocations: 127.3 kB / 445 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2425, allocations: 4 kB / 445 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.2428, allocations: 13.78 kB / 445 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.2429, allocations: 19.94 kB / 445 MB, free: 14.1 MB / 426.7 MB 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.0001801/0.2431, allocations: 117.5 kB / 445.1 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2432, allocations: 8 kB / 445.2 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.2465, allocations: 1.978 MB / 447.1 MB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2465, allocations: 12 kB / 447.1 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2465, allocations: 0 / 447.1 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.2465, allocations: 7.969 kB / 447.2 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.2486, allocations: 1.861 MB / 449 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2486, allocations: 4 kB / 449 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007977/0.2494, allocations: 201.1 kB / 449.2 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.2494, allocations: 41.36 kB / 449.3 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2494, allocations: 4 kB / 449.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.2495, allocations: 20.55 kB / 449.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2495, allocations: 8.031 kB / 449.3 MB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2495, allocations: 0 / 449.3 MB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.2511, allocations: 1.652 MB / 450.9 MB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.2512, allocations: 15.56 kB / 451 MB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.2515, allocations: 23.44 kB / 451 MB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.2516, allocations: 49.3 kB / 451 MB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.2517, allocations: 19.67 kB / 451 MB, free: 8.844 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.546e-06/0.2517, allocations: 12.8 kB / 451.1 MB, free: 8.828 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2517, allocations: 0 / 451.1 MB, free: 8.828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.2521, allocations: 257 kB / 451.3 MB, free: 8.59 MB / 426.7 MB 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.0003519/0.2525, allocations: 253.3 kB / 451.6 MB, free: 8.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.2535, allocations: 1.236 MB / 452.8 MB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/0.2535, allocations: 4 kB / 452.8 MB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004898/0.254, allocations: 0.5552 MB / 453.4 MB, free: 6.605 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2543, allocations: 55.66 kB / 453.4 MB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.2566, allocations: 1.109 MB / 454.5 MB, free: 5.539 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.2567, allocations: 110.6 kB / 454.6 MB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00161/0.2583, allocations: 0.7026 MB / 455.3 MB, free: 4.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009884/0.2593, allocations: 140.3 kB / 455.5 MB, free: 4.582 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2593, allocations: 0 / 455.5 MB, free: 4.582 MB / 426.7 MB Notification: Performance of Templates: time 0.0246/0.2838, allocations: 25.98 MB / 481.4 MB, free: 10.96 MB / 458.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.57596271391958]