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.00135/0.00135, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001685/0.001685, allocations: 215.1 kB / 22.25 MB, free: 5.129 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002057/0.002057, allocations: 67.31 kB / 1.117 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3288, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002026/0.3309, allocations: 0.6286 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.3331, allocations: 1.359 MB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.3331, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.3331, allocations: 11.94 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.3332, allocations: 0 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006416/0.3338, allocations: 87.66 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.089e-05/0.3339, allocations: 23.98 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.3339, allocations: 3.938 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.334, allocations: 11.98 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3341, allocations: 19.91 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3341, allocations: 0 / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.3345, allocations: 111.9 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.3345, allocations: 11.98 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3346, allocations: 7.938 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3348, allocations: 83.28 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3348, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3348, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3348, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 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.0005333/0.3354, allocations: 278.2 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3354, allocations: 8.031 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.3354, allocations: 34.75 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.3355, allocations: 12.88 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3356, allocations: 110.4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3356, allocations: 4.375 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3356, allocations: 12.36 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3357, allocations: 57.8 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3358, allocations: 3.938 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3358, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3358, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.3358, allocations: 23.98 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.336, allocations: 144.7 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3362, allocations: 58.5 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.3363, allocations: 16.86 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.3365, allocations: 39.95 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3366, allocations: 38.5 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3366, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 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.0208/0.3574, allocations: 4.168 MB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3574, allocations: 55.41 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.3575, allocations: 93.86 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.3576, allocations: 29.7 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.3576, allocations: 80.14 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.3578, allocations: 59.48 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.358, allocations: 97.59 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3582, allocations: 322.7 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.3588, allocations: 315.8 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.3593, allocations: 318.2 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.361, allocations: 0.7693 MB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.361, allocations: 3.984 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001711/0.3627, allocations: 0.7943 MB / 1.293 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3627, allocations: 4 kB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3627, allocations: 480 / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3627, allocations: 0 / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.3636, allocations: 99.88 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3636, allocations: 4 kB / 1.294 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.3641, allocations: 8 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/0.3642, allocations: 35.98 kB / 1.294 GB, free: 1 MB / 0.9825 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.0001988/0.3644, allocations: 121.8 kB / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.3644, allocations: 4 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.3679, allocations: 1.415 MB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3679, allocations: 4 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3679, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3679, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.3713, allocations: 1.79 MB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3714, allocations: 0 / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.3722, allocations: 107.9 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.3722, allocations: 4 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.3723, allocations: 31.92 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.3723, allocations: 8.031 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3723, allocations: 0 / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.3751, allocations: 1.47 MB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.3751, allocations: 19.88 kB / 1.298 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.3752, allocations: 7.938 kB / 1.298 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.3758, allocations: 12 kB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.3759, allocations: 48.02 kB / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.376, allocations: 31.98 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.376, allocations: 75.28 kB / 1.299 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.376, allocations: 4 kB / 1.299 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006464/0.3767, allocations: 179.7 kB / 1.299 GB, free: 11.58 MB / 0.9981 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.00378/0.3805, allocations: 2.138 MB / 1.301 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.3819, allocations: 0.7113 MB / 1.302 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3819, allocations: 0 / 1.302 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006788/0.3826, allocations: 415.5 kB / 1.302 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3829, allocations: 18.62 kB / 1.302 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008508/0.3914, allocations: 3.712 MB / 1.306 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3919, allocations: 0.7181 MB / 1.306 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00111/0.393, allocations: 297.5 kB / 1.307 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.3936, allocations: 115.4 kB / 1.307 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of SimCode: time 1.443e-06/0.3936, allocations: 0 / 1.307 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05161/0.4452, allocations: 13.48 MB / 1.32 GB, free: 6.031 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 3.594 kB / 1.32 GB, free: 6.031 MB / 1.014 GB " [Timeout remaining time 287] (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: 18.495341875823215] Failed to read output from testmodel.py, exit status != 0: 12.526500921929255 12.064659613 11.72474774 Calling exit ...