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.001413/0.001413, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002065/0.002065, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.777 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.503/3.503, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002183/0.002183, allocations: 68.52 kB / 1.186 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.401, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001868/0.4028, allocations: 0.6225 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.4049, allocations: 1.315 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.4049, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.4049, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.077e-05/0.4049, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.4054, allocations: 87.61 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.4055, allocations: 15.98 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.4055, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.4056, allocations: 19.91 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.4056, allocations: 7.984 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.4056, allocations: 8 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.406, allocations: 107.9 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.406, allocations: 11.92 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.406, allocations: 7.984 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.4062, allocations: 80 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4062, allocations: 3.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4062, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4062, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 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.0005301/0.4068, allocations: 278.1 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4068, allocations: 12.03 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.4069, allocations: 34.75 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.4069, allocations: 4.938 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.407, allocations: 110.5 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.407, allocations: 4.375 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4071, allocations: 384 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4072, allocations: 83.5 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4073, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4073, allocations: 4 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4073, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.4073, allocations: 23.92 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.4076, allocations: 144.7 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.4077, allocations: 54.56 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.4078, allocations: 28.84 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.408, allocations: 39.95 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.4081, allocations: 38.5 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4081, allocations: 0 / 1.366 GB, free: 10.79 MB / 1.061 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.02018/0.4283, allocations: 4.168 MB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.4284, allocations: 55.41 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.4285, allocations: 93.86 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.4285, allocations: 29.7 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.4286, allocations: 80.14 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.4287, allocations: 59.47 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.429, allocations: 97.8 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.4292, allocations: 322.8 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.4298, allocations: 307.9 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.4304, allocations: 307.9 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.432, allocations: 0.7757 MB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.432, allocations: 0 / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00176/0.4338, allocations: 0.7961 MB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4338, allocations: 8 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4338, allocations: 0 / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4338, allocations: 4 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008547/0.4347, allocations: 95.94 kB / 1.373 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4347, allocations: 4 kB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.4352, allocations: 8 kB / 1.373 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.4353, allocations: 35.98 kB / 1.374 GB, free: 3.418 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.0002328/0.4355, allocations: 125.7 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.4356, allocations: 7.891 kB / 1.374 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.4394, allocations: 1.396 MB / 1.375 GB, free: 1.871 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.4394, allocations: 4 kB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4394, allocations: 0 / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4394, allocations: 0 / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.443, allocations: 1.708 MB / 1.377 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.443, allocations: 0 / 1.377 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.4439, allocations: 108 kB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.4439, allocations: 7.938 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/0.444, allocations: 31.88 kB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.444, allocations: 8.031 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.444, allocations: 0 / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.4467, allocations: 1.458 MB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.4467, allocations: 19.88 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.4468, allocations: 11.94 kB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.4474, allocations: 12 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.4475, allocations: 43.95 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.4476, allocations: 27.98 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.4476, allocations: 83.28 kB / 1.378 GB, free: 14.28 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4476, allocations: 0 / 1.378 GB, free: 14.28 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006098/0.4482, allocations: 187.8 kB / 1.379 GB, free: 14.09 MB / 1.076 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.003325/0.4515, allocations: 2.135 MB / 1.381 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.4529, allocations: 0.7183 MB / 1.381 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4529, allocations: 0 / 1.381 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.4536, allocations: 403.7 kB / 1.382 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.4539, allocations: 16 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/0.4623, allocations: 3.706 MB / 1.385 GB, free: 7.016 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.4624, allocations: 107.6 kB / 1.386 GB, free: 6.887 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001126/0.4635, allocations: 301.4 kB / 1.386 GB, free: 6.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/0.4641, allocations: 119.4 kB / 1.386 GB, free: 6.473 MB / 1.076 GB Notification: Performance of SimCode: time 1.283e-06/0.4641, allocations: 0 / 1.386 GB, free: 6.473 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.5113, allocations: 14.08 MB / 1.4 GB, free: 8.582 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.02, allocations: 7.656 kB / 1.4 GB, free: 8.578 MB / 1.092 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: 19.323059543035924] Failed to read output from testmodel.py, exit status != 0: 12.130335143767297 12.14692011 11.737354145 Calling exit ...