Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.002276/0.002276, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002184/0.002184, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.404/3.404, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002149/0.002149, allocations: 67.36 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3697, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001953/0.3717, allocations: 0.6173 MB / 1.354 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3736, allocations: 1.377 MB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3736, allocations: 0 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.3737, allocations: 0 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.731e-05/0.3737, allocations: 4 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3741, allocations: 84.92 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.3742, allocations: 23.97 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.3742, allocations: 4 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.3742, allocations: 11.92 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.3743, allocations: 11.98 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3743, allocations: 4 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.3746, allocations: 107.9 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.3747, allocations: 19.91 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.3747, allocations: 15.94 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.3748, allocations: 76 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3749, allocations: 7.938 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3749, allocations: 3.938 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3749, allocations: 0 / 1.355 GB, free: 6.039 MB / 1.045 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.0004803/0.3753, allocations: 274.2 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3754, allocations: 8.031 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.3754, allocations: 38.75 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.3755, allocations: 4.938 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3756, allocations: 106.5 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3756, allocations: 384 / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.3756, allocations: 8.375 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3758, allocations: 57.78 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3758, allocations: 3.953 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.3758, allocations: 7.984 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3758, allocations: 4 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.3759, allocations: 23.92 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.3761, allocations: 144.7 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3762, allocations: 54.55 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.3762, allocations: 24.86 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.3765, allocations: 39.95 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3765, allocations: 42.5 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3765, allocations: 0 / 1.356 GB, free: 5.082 MB / 1.045 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.01993/0.3965, allocations: 4.168 MB / 1.36 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3965, allocations: 55.41 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.3966, allocations: 93.86 kB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.3967, allocations: 33.7 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.3967, allocations: 80.14 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3968, allocations: 59.47 kB / 1.36 GB, free: 480 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.3971, allocations: 93.66 kB / 1.36 GB, free: 380 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3972, allocations: 322.8 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.3977, allocations: 307.9 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.3983, allocations: 312 kB / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.3998, allocations: 0.7721 MB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3998, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001573/0.4014, allocations: 0.8021 MB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4014, allocations: 4 kB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4014, allocations: 4.312 kB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4015, allocations: 0 / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.4022, allocations: 91.94 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4022, allocations: 0 / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.4027, allocations: 12 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.4028, allocations: 35.97 kB / 1.363 GB, free: 13.71 MB / 1.061 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.0002437/0.403, allocations: 126.3 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.4031, allocations: 15.89 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.4064, allocations: 1.396 MB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4064, allocations: 4 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4064, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4064, allocations: 4 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.4095, allocations: 1.782 MB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4095, allocations: 4 kB / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/0.4103, allocations: 111.9 kB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.4103, allocations: 3.938 kB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.4104, allocations: 39.86 kB / 1.366 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4104, allocations: 4.031 kB / 1.366 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4104, allocations: 0 / 1.366 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.413, allocations: 1.455 MB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.413, allocations: 23.86 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.4131, allocations: 15.94 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.4136, allocations: 12 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.4137, allocations: 51.95 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.4138, allocations: 28 kB / 1.368 GB, free: 8.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.4139, allocations: 79.27 kB / 1.368 GB, free: 8.473 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4139, allocations: 0 / 1.368 GB, free: 8.473 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006251/0.4145, allocations: 183.7 kB / 1.368 GB, free: 8.293 MB / 1.061 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.003369/0.4178, allocations: 2.134 MB / 1.37 GB, free: 6.129 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.4192, allocations: 0.72 MB / 1.371 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4192, allocations: 0 / 1.371 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.4199, allocations: 403.7 kB / 1.371 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4202, allocations: 16 kB / 1.371 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.4279, allocations: 3.713 MB / 1.375 GB, free: 1.207 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4283, allocations: 0.7181 MB / 1.376 GB, free: 468 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001082/0.4293, allocations: 297.5 kB / 1.376 GB, free: 172 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/0.4299, allocations: 115.4 kB / 1.376 GB, free: 56 kB / 1.061 GB Notification: Performance of SimCode: time 1.222e-06/0.4299, allocations: 0 / 1.376 GB, free: 56 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04898/0.4789, allocations: 13.49 MB / 1.389 GB, free: 2.719 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.73, allocations: 1.688 kB / 1.389 GB, free: 2.719 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.821665906114504] Failed to read output from testmodel.py, exit status != 0: 11.842145381961018 11.869901457 11.489897215 Calling exit ...