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.001216/0.001216, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001286/0.001286, allocations: 160.6 kB / 23.01 MB, free: 4.602 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.329/1.329, allocations: 177.2 MB / 203.4 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 179] 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.002311/0.002311, allocations: 225.8 kB / 260 MB, free: 492 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 0.8842/0.8842, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.002916/0.002916, allocations: 102.3 kB / 0.6474 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3739, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001599/0.3755, allocations: 0.6242 MB / 0.7411 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3768, allocations: 1.306 MB / 0.7424 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.3768, allocations: 3.938 kB / 0.7424 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.3768, allocations: 1.219 kB / 0.7424 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.058e-05/0.3769, allocations: 3.938 kB / 0.7424 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3772, allocations: 85.25 kB / 0.7425 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.3772, allocations: 18 kB / 0.7425 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.3773, allocations: 3.844 kB / 0.7425 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.3773, allocations: 10.86 kB / 0.7425 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.3774, allocations: 16.27 kB / 0.7425 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3774, allocations: 1.125 kB / 0.7425 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.3776, allocations: 114.8 kB / 0.7426 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.3776, allocations: 6.734 kB / 0.7426 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.3776, allocations: 9.641 kB / 0.7426 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3778, allocations: 81.03 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3778, allocations: 1.312 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3778, allocations: 0 / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3778, allocations: 3.938 kB / 0.7427 GB, free: 16.02 MB / 0.5919 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.0003121/0.3781, allocations: 275.5 kB / 0.743 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.3781, allocations: 10.55 kB / 0.743 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.3782, allocations: 2.5 kB / 0.743 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.828e-05/0.3782, allocations: 118.4 kB / 0.7431 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3782, allocations: 1.312 kB / 0.7431 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3783, allocations: 7.859 kB / 0.7431 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3784, allocations: 85.61 kB / 0.7432 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3784, allocations: 4.969 kB / 0.7432 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3784, allocations: 0.6094 kB / 0.7432 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3784, allocations: 2.219 kB / 0.7432 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.599e-05/0.3784, allocations: 22.16 kB / 0.7432 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.3785, allocations: 113.6 kB / 0.7433 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.3786, allocations: 55.66 kB / 0.7434 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.3787, allocations: 21.64 kB / 0.7434 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.3789, allocations: 41.86 kB / 0.7435 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.3789, allocations: 35.69 kB / 0.7435 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3789, allocations: 0 / 0.7435 GB, free: 15.29 MB / 0.5919 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.0185/0.3974, allocations: 4.17 MB / 0.7476 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.3974, allocations: 56.69 kB / 0.7476 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.437e-05/0.3975, allocations: 97.42 kB / 0.7477 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.3975, allocations: 30.95 kB / 0.7477 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-06/0.3975, allocations: 80.14 kB / 0.7478 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.064e-05/0.3976, allocations: 59.86 kB / 0.7479 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.3978, allocations: 94.39 kB / 0.748 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.3979, allocations: 322.8 kB / 0.7483 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.3983, allocations: 308.1 kB / 0.7486 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.3987, allocations: 311.8 kB / 0.7489 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.4001, allocations: 0.7724 MB / 0.7496 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4001, allocations: 4.125 kB / 0.7496 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001364/0.4015, allocations: 0.8079 MB / 0.7504 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4015, allocations: 5.312 kB / 0.7504 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4015, allocations: 0 / 0.7504 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4015, allocations: 1.5 kB / 0.7504 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.4023, allocations: 102.1 kB / 0.7505 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4023, allocations: 0.6562 kB / 0.7505 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.4028, allocations: 6.375 kB / 0.7505 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.4029, allocations: 33.09 kB / 0.7505 GB, free: 12.1 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.0001319/0.4031, allocations: 126.6 kB / 0.7507 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.4031, allocations: 10.58 kB / 0.7507 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.4058, allocations: 1.39 MB / 0.752 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4058, allocations: 7.938 kB / 0.752 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4058, allocations: 1.25 kB / 0.752 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4058, allocations: 2.25 kB / 0.752 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.4083, allocations: 1.66 MB / 0.7537 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4083, allocations: 1.094 kB / 0.7537 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.4091, allocations: 110 kB / 0.7538 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4091, allocations: 2.594 kB / 0.7538 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.4091, allocations: 26.45 kB / 0.7538 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4091, allocations: 2.688 kB / 0.7538 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4091, allocations: 4.25 kB / 0.7538 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.4112, allocations: 1.471 MB / 0.7552 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.4112, allocations: 13.81 kB / 0.7553 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.4113, allocations: 7 kB / 0.7553 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.4118, allocations: 19.8 kB / 0.7553 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.4119, allocations: 43.53 kB / 0.7553 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.412, allocations: 32.12 kB / 0.7554 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.455e-05/0.412, allocations: 80.38 kB / 0.7554 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.412, allocations: 0 / 0.7554 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000559/0.4126, allocations: 184.1 kB / 0.7556 GB, free: 9.449 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.0004199/0.413, allocations: 237 kB / 0.7558 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.4142, allocations: 0.7129 MB / 0.7565 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4142, allocations: 4.094 kB / 0.7565 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.4147, allocations: 405.4 kB / 0.7569 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.415, allocations: 17.11 kB / 0.7569 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.4183, allocations: 0.787 MB / 0.7577 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.4184, allocations: 101.7 kB / 0.7578 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009098/0.4193, allocations: 302.2 kB / 0.7581 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.4198, allocations: 94.69 kB / 0.7582 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.4198, allocations: 0 / 0.7582 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of Templates: time 0.01354/0.4333, allocations: 11.99 MB / 0.7699 GB, free: 2.293 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.571050869999453] Failed to read output from testmodel.py, exit status != 0: 0.4403195610502735 0.45296550900000004 0.072357427 Calling exit ...