Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008235/0.0008235, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001036/0.001036, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8823/0.8823, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.19e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00126/0.001282, allocations: 0.6139 MB / 0.9512 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.002669, allocations: 1.307 MB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.002697, allocations: 0 / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.002715, allocations: 11.88 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.002742, allocations: 0 / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.003104, allocations: 83.66 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.003159, allocations: 15.98 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.003204, allocations: 11.92 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.003242, allocations: 19.92 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.003307, allocations: 7.984 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.00332, allocations: 0 / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.00355, allocations: 107.9 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.003561, allocations: 11.98 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.00358, allocations: 7.938 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.00373, allocations: 91.75 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003733, allocations: 0 / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003734, allocations: 0 / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003738, allocations: 3.938 kB / 0.9528 GB, free: 1.125 MB / 0.9011 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.0003541/0.004092, allocations: 282.1 kB / 0.9531 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.004129, allocations: 12.03 kB / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.004157, allocations: 30.75 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.004184, allocations: 4.938 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.004256, allocations: 113.8 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004266, allocations: 384 / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.004287, allocations: 8.328 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.004398, allocations: 79.94 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.004407, allocations: 4.125 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.004418, allocations: 8.125 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004425, allocations: 3.984 kB / 0.9533 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.004477, allocations: 23.92 kB / 0.9533 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.004605, allocations: 132.7 kB / 0.9535 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.004707, allocations: 62.53 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.004738, allocations: 24.86 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.004926, allocations: 39.95 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004945, allocations: 30.56 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.004946, allocations: 0 / 0.9536 GB, free: 148 kB / 0.9011 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.01069/0.01563, allocations: 4.159 MB / 0.9577 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.01567, allocations: 59.39 kB / 0.9577 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.01572, allocations: 97.8 kB / 0.9578 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.01577, allocations: 25.7 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.01579, allocations: 88 kB / 0.9579 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.01587, allocations: 59.47 kB / 0.958 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.01602, allocations: 97.61 kB / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.01609, allocations: 318.8 kB / 0.9584 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.01644, allocations: 311.9 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.01679, allocations: 311.9 kB / 0.959 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.01781, allocations: 0.7761 MB / 0.9597 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01781, allocations: 0 / 0.9597 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001031/0.01885, allocations: 0.7981 MB / 0.9605 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.01886, allocations: 8 kB / 0.9605 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01887, allocations: 4.469 kB / 0.9605 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01888, allocations: 3.984 kB / 0.9605 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.01926, allocations: 95.89 kB / 0.9606 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01927, allocations: 0 / 0.9606 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.01947, allocations: 8 kB / 0.9606 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.01952, allocations: 43.97 kB / 0.9607 GB, free: 8.758 MB / 0.9167 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.0001351/0.01965, allocations: 113.8 kB / 0.9608 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.0197, allocations: 7.953 kB / 0.9608 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.02155, allocations: 1.407 MB / 0.9622 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.02156, allocations: 4 kB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02156, allocations: 0 / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.02157, allocations: 3.984 kB / 0.9622 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.02352, allocations: 1.706 MB / 0.9638 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02352, allocations: 0 / 0.9638 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.02388, allocations: 107.9 kB / 0.9639 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.02389, allocations: 4 kB / 0.9639 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.02393, allocations: 24 kB / 0.964 GB, free: 5.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.02393, allocations: 0 / 0.964 GB, free: 5.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02393, allocations: 7.938 kB / 0.964 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.02551, allocations: 1.474 MB / 0.9654 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.02553, allocations: 11.92 kB / 0.9654 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.02558, allocations: 8 kB / 0.9654 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.0258, allocations: 19.98 kB / 0.9655 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.02589, allocations: 43.89 kB / 0.9655 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.02593, allocations: 31.98 kB / 0.9655 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.361e-05/0.02595, allocations: 83.22 kB / 0.9656 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.02595, allocations: 0 / 0.9656 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003968/0.02635, allocations: 179.7 kB / 0.9658 GB, free: 3.438 MB / 0.9167 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.0021/0.02845, allocations: 2.158 MB / 0.9679 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008388/0.02929, allocations: 0.7106 MB / 0.9686 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02929, allocations: 3.938 kB / 0.9686 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.0297, allocations: 407.6 kB / 0.969 GB, free: 136 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.02994, allocations: 18.28 kB / 0.969 GB, free: 120 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.03466, allocations: 3.71 MB / 0.9726 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.804e-05/0.03473, allocations: 103.8 kB / 0.9727 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000639/0.03536, allocations: 293.5 kB / 0.973 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.03577, allocations: 112.5 kB / 0.9731 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.292e-06/0.03578, allocations: 0 / 0.9731 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.06269, allocations: 14.22 MB / 0.987 GB, free: 13.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/6.955, allocations: 13.39 kB / 0.987 GB, free: 13.77 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.876679296605289] Failed to read output from testmodel.py, exit status != 0: 7.042239416390657 7.050872442 7.045344299 Calling exit ...