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.001772/0.001772, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002551/0.002551, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.003983/0.003983, allocations: 288.9 kB / 312.7 MB, free: 2.578 MB / 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.223/1.223, allocations: 180.6 MB / 0.5369 GB, free: 14.64 MB / 382.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: NcDataReader2 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: BuildingSystems 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.00288/0.00288, allocations: 110.4 kB / 0.74 GB, free: 27.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1794, allocations: 95.37 MB / 0.8332 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001708/0.1811, allocations: 0.6286 MB / 0.8338 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1829, allocations: 1.301 MB / 0.8351 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.1829, allocations: 8 kB / 0.8351 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.1829, allocations: 0 / 0.8351 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.009e-05/0.183, allocations: 7.875 kB / 0.8351 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1834, allocations: 83.73 kB / 0.8351 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.1834, allocations: 19.98 kB / 0.8352 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1835, allocations: 3.984 kB / 0.8352 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.267e-05/0.1835, allocations: 11.98 kB / 0.8352 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.1835, allocations: 15.92 kB / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1836, allocations: 0 / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.1838, allocations: 115.8 kB / 0.8353 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1838, allocations: 0 / 0.8353 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.1839, allocations: 11.94 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.184, allocations: 83.7 kB / 0.8354 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.184, allocations: 0 / 0.8354 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.184, allocations: 0 / 0.8354 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.184, allocations: 0 / 0.8354 GB, free: 5.5 MB / 0.5762 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.0004291/0.1845, allocations: 278.2 kB / 0.8357 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1845, allocations: 8.75 kB / 0.8357 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.1845, allocations: 4.938 kB / 0.8357 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1847, allocations: 110.5 kB / 0.8358 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1847, allocations: 384 / 0.8358 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1847, allocations: 12.27 kB / 0.8358 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1848, allocations: 87.62 kB / 0.8359 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1848, allocations: 0 / 0.8359 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1849, allocations: 4 kB / 0.8359 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1849, allocations: 0 / 0.8359 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.1849, allocations: 19.98 kB / 0.8359 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1851, allocations: 125.2 kB / 0.836 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1852, allocations: 54.56 kB / 0.8361 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.1852, allocations: 28.84 kB / 0.8361 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.1855, allocations: 39.97 kB / 0.8361 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1855, allocations: 38.5 kB / 0.8362 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1855, allocations: 3.938 kB / 0.8362 GB, free: 4.586 MB / 0.5762 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.02012/0.2056, allocations: 4.172 MB / 0.8403 GB, free: 328 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2057, allocations: 55.41 kB / 0.8403 GB, free: 260 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.2058, allocations: 89.86 kB / 0.8404 GB, free: 160 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.2058, allocations: 29.7 kB / 0.8404 GB, free: 124 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.2059, allocations: 88.08 kB / 0.8405 GB, free: 32 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.206, allocations: 59.47 kB / 0.8406 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.2062, allocations: 89.67 kB / 0.8406 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2064, allocations: 322.8 kB / 0.841 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.2069, allocations: 312 kB / 0.8412 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.2075, allocations: 311.9 kB / 0.8415 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.2091, allocations: 0.7719 MB / 0.8423 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2091, allocations: 0 / 0.8423 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00159/0.2107, allocations: 0.802 MB / 0.8431 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2107, allocations: 8 kB / 0.8431 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2107, allocations: 0 / 0.8431 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2107, allocations: 0 / 0.8431 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.2115, allocations: 91.94 kB / 0.8432 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2116, allocations: 0 / 0.8432 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.2121, allocations: 12 kB / 0.8432 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.2122, allocations: 35.98 kB / 0.8432 GB, free: 13.22 MB / 0.5919 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.0001929/0.2124, allocations: 122.4 kB / 0.8433 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.2124, allocations: 11.94 kB / 0.8434 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.2156, allocations: 1.399 MB / 0.8447 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2156, allocations: 4 kB / 0.8447 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2156, allocations: 0 / 0.8447 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2156, allocations: 0 / 0.8447 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.2186, allocations: 1.662 MB / 0.8463 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2186, allocations: 0 / 0.8463 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/0.2194, allocations: 111.8 kB / 0.8465 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2194, allocations: 4 kB / 0.8465 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.2195, allocations: 27.98 kB / 0.8465 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.2195, allocations: 4 kB / 0.8465 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2195, allocations: 3.938 kB / 0.8465 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.222, allocations: 1.47 MB / 0.8479 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.222, allocations: 19.91 kB / 0.8479 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.2221, allocations: 4 kB / 0.8479 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.2226, allocations: 12 kB / 0.848 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.2227, allocations: 51.83 kB / 0.848 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.2228, allocations: 36 kB / 0.848 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.2228, allocations: 79.27 kB / 0.8481 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2228, allocations: 0 / 0.8481 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000589/0.2234, allocations: 179.7 kB / 0.8483 GB, free: 7.949 MB / 0.5919 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.0005208/0.224, allocations: 238.8 kB / 0.8485 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.2253, allocations: 0.7164 MB / 0.8492 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2253, allocations: 0 / 0.8492 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.226, allocations: 403.7 kB / 0.8496 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2263, allocations: 18.06 kB / 0.8496 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.2299, allocations: 0.7895 MB / 0.8504 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.23, allocations: 103.5 kB / 0.8505 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001048/0.231, allocations: 293.5 kB / 0.8508 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/0.2316, allocations: 95.41 kB / 0.8509 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.2316, allocations: 0 / 0.8509 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of Templates: time 0.01921/0.2508, allocations: 12.06 MB / 0.8626 GB, free: 9.309 MB / 0.6075 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.283978180959821] Failed to read output from testmodel.py, exit status != 0: 0.2579983901232481 0.27319754199999996 0.08620395799999994 Calling exit ...