Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 110.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 71.89 kB / 1.056 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9315/0.9344, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001893/0.9363, allocations: 0.6154 MB / 1.214 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.9381, allocations: 1.286 MB / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.9381, allocations: 0 / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.9382, allocations: 1.125 kB / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.9382, allocations: 3.938 kB / 1.215 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.9386, allocations: 82.75 kB / 1.215 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.9387, allocations: 22.83 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.9387, allocations: 1.656 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.796e-05/0.9387, allocations: 9.609 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.9388, allocations: 20.28 kB / 1.215 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.9388, allocations: 2.312 kB / 1.215 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.9391, allocations: 100.4 kB / 1.215 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.9392, allocations: 5.109 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.9392, allocations: 16.02 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.9394, allocations: 64.66 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9394, allocations: 4 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9394, allocations: 1.125 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9394, allocations: 3.938 kB / 1.215 GB, free: 2.184 MB / 0.92 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.0006397/0.9401, allocations: 355.8 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.9401, allocations: 9.375 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.9402, allocations: 33.06 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.9402, allocations: 10.03 kB / 1.216 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.9404, allocations: 166 kB / 1.216 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.9404, allocations: 10.19 kB / 1.216 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.9404, allocations: 7.578 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.9406, allocations: 60.92 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.9406, allocations: 0 / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.9406, allocations: 1.156 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.9407, allocations: 5.047 kB / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.9408, allocations: 21.42 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.941, allocations: 177.1 kB / 1.216 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.9412, allocations: 59.31 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.9413, allocations: 22.44 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007734/0.942, allocations: 0.5538 MB / 1.217 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.9421, allocations: 44.7 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.9421, allocations: 0 / 1.217 GB, free: 0.4922 MB / 0.92 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.02647/0.9686, allocations: 4.365 MB / 1.221 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.9686, allocations: 57.62 kB / 1.221 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.9687, allocations: 103.1 kB / 1.221 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.9688, allocations: 31.05 kB / 1.221 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.9688, allocations: 80.14 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.9689, allocations: 62.2 kB / 1.221 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.9692, allocations: 96.2 kB / 1.221 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.9693, allocations: 320.8 kB / 1.222 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.9699, allocations: 309.6 kB / 1.222 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.9704, allocations: 307.8 kB / 1.222 GB, free: 13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.9721, allocations: 0.7685 MB / 1.223 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9721, allocations: 4 kB / 1.223 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001681/0.9738, allocations: 0.799 MB / 1.224 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.9738, allocations: 5.25 kB / 1.224 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.9739, allocations: 0 / 1.224 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.9739, allocations: 1.156 kB / 1.224 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.9747, allocations: 101 kB / 1.224 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9747, allocations: 1.312 kB / 1.224 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.9752, allocations: 5.344 kB / 1.224 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.9753, allocations: 39.16 kB / 1.224 GB, free: 12.18 MB / 0.9356 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.0002046/0.9755, allocations: 121.7 kB / 1.224 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.9756, allocations: 6.641 kB / 1.224 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.9789, allocations: 1.396 MB / 1.225 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.9789, allocations: 8 kB / 1.225 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9789, allocations: 0 / 1.225 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.9789, allocations: 3.984 kB / 1.225 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.9822, allocations: 1.822 MB / 1.227 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9822, allocations: 0 / 1.227 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.983, allocations: 103.9 kB / 1.227 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.983, allocations: 4 kB / 1.227 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.9831, allocations: 31.92 kB / 1.227 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.9831, allocations: 4 kB / 1.227 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9831, allocations: 4 kB / 1.227 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.9857, allocations: 1.466 MB / 1.229 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.9857, allocations: 89 kB / 1.229 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.9858, allocations: 15.92 kB / 1.229 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.9863, allocations: 8 kB / 1.229 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.9864, allocations: 43.97 kB / 1.229 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.9865, allocations: 28 kB / 1.229 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.9866, allocations: 87.28 kB / 1.229 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9866, allocations: 0 / 1.229 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006176/0.9872, allocations: 179.7 kB / 1.229 GB, free: 7.008 MB / 0.9356 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.003318/0.9905, allocations: 2.143 MB / 1.231 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.9919, allocations: 0.7145 MB / 1.232 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.9919, allocations: 0 / 1.232 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.9926, allocations: 396 kB / 1.232 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.9929, allocations: 19.94 kB / 1.232 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/1.001, allocations: 3.728 MB / 1.236 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/1.001, allocations: 0.7182 MB / 1.237 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001112/1.002, allocations: 293.5 kB / 1.237 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/1.003, allocations: 119.4 kB / 1.237 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of SimCode: time 1.192e-06/1.003, allocations: 0 / 1.237 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/1.044, allocations: 12.74 MB / 1.25 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/9.345, allocations: 12.7 kB / 1.25 GB, free: 2.164 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.52607209701091] Failed to read output from testmodel.py, exit status != 0: 9.422418010886759 9.4498655 8.505087625 Calling exit ...