Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002371/0.002371, allocations: 214.5 kB / 22.24 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.346/3.346, allocations: 0.49 GB / 0.7951 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_12_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.001977/0.001977, allocations: 68.92 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00175/0.3384, allocations: 0.6256 MB / 1.326 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3402, allocations: 1.307 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.3402, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.3402, allocations: 3.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.389e-05/0.3403, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.3406, allocations: 83.66 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.3407, allocations: 19.92 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.3407, allocations: 7.984 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.3408, allocations: 11.98 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.3408, allocations: 15.92 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.3408, allocations: 8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.3411, allocations: 107.9 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.3411, allocations: 7.984 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.3412, allocations: 15.92 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.3413, allocations: 80 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.3413, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3413, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3413, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 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.000437/0.3418, allocations: 279.9 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3418, allocations: 16.02 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.3419, allocations: 34.69 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.3419, allocations: 4.938 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.342, allocations: 106.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.342, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.342, allocations: 384 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3422, allocations: 83.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3422, allocations: 7.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.3422, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3422, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.3422, allocations: 19.98 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.3424, allocations: 156.6 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3425, allocations: 50.56 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.3426, allocations: 28.84 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.3428, allocations: 35.97 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3429, allocations: 38.5 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3429, allocations: 4 kB / 1.329 GB, free: 14.19 MB / 1.029 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.02202/0.3649, allocations: 4.15 MB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3649, allocations: 55.41 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.365, allocations: 97.8 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/0.3651, allocations: 29.7 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.3651, allocations: 84.08 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3653, allocations: 63.47 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.3655, allocations: 97.73 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3657, allocations: 322.8 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.3662, allocations: 307.9 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.3668, allocations: 309.3 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.3684, allocations: 0.7794 MB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3684, allocations: 0 / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001627/0.37, allocations: 0.7921 MB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.37, allocations: 8 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.37, allocations: 0 / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.37, allocations: 3.984 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.3708, allocations: 99.88 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3708, allocations: 4 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.3713, allocations: 8 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.3714, allocations: 35.98 kB / 1.336 GB, free: 6.828 MB / 1.029 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.0002076/0.3716, allocations: 121.8 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.3717, allocations: 7.938 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.375, allocations: 1.399 MB / 1.337 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.375, allocations: 4 kB / 1.337 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.375, allocations: 0 / 1.337 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.375, allocations: 0 / 1.337 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.3781, allocations: 1.704 MB / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3781, allocations: 0 / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.3789, allocations: 107.9 kB / 1.339 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3789, allocations: 4 kB / 1.339 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.379, allocations: 31.92 kB / 1.339 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.379, allocations: 8.031 kB / 1.339 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.379, allocations: 0 / 1.339 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.3815, allocations: 1.47 MB / 1.341 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.3815, allocations: 19.88 kB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.3816, allocations: 11.94 kB / 1.341 GB, free: 1.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.3821, allocations: 12 kB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.3823, allocations: 43.95 kB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.3824, allocations: 24 kB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.3824, allocations: 91.2 kB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3824, allocations: 160 / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006054/0.383, allocations: 183.7 kB / 1.341 GB, free: 1.496 MB / 1.029 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.003321/0.3863, allocations: 2.138 MB / 1.343 GB, free: 15.33 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.3877, allocations: 0.7151 MB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3877, allocations: 3.938 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.3883, allocations: 403.6 kB / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3887, allocations: 20 kB / 1.344 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/0.3965, allocations: 3.699 MB / 1.348 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3966, allocations: 103.5 kB / 1.348 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001064/0.3977, allocations: 297.5 kB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.3983, allocations: 115.4 kB / 1.348 GB, free: 9.879 MB / 1.045 GB Notification: Performance of SimCode: time 1.172e-06/0.3983, allocations: 0 / 1.348 GB, free: 9.879 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.4457, allocations: 14.18 MB / 1.362 GB, free: 11.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.86, allocations: 5.234 kB / 1.362 GB, free: 11.88 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.8005199059844] Failed to read output from testmodel.py, exit status != 0: 11.972254849009914 11.989067749 11.644603215 Calling exit ...