Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 119.9 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 1.057 GB, free: 1.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3551, allocations: 160.7 MB / 1.214 GB, free: 0.8594 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001851/0.357, allocations: 0.6183 MB / 1.215 GB, free: 244 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3589, allocations: 1.291 MB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.3589, allocations: 0 / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.3589, allocations: 3.938 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.359, allocations: 0 / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.3594, allocations: 75.72 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.3595, allocations: 19.98 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.3595, allocations: 4 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.3595, allocations: 11.88 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.3596, allocations: 23.91 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3596, allocations: 4 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.3599, allocations: 103.8 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3599, allocations: 3.984 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.3599, allocations: 15.92 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3601, allocations: 67.73 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3601, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3601, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3601, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 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.0005865/0.3607, allocations: 355.3 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3608, allocations: 8.031 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.3608, allocations: 4.938 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.361, allocations: 164.3 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.361, allocations: 4.375 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.361, allocations: 4.328 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3612, allocations: 61.92 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3612, allocations: 0 / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3612, allocations: 4 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3612, allocations: 0 / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.3613, allocations: 31.97 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.3615, allocations: 157.7 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.3617, allocations: 62.55 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.3617, allocations: 28.84 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005755/0.3623, allocations: 0.5661 MB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3623, allocations: 34.5 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3623, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 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.02101/0.3833, allocations: 4.388 MB / 1.222 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.3834, allocations: 51.41 kB / 1.222 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.3834, allocations: 93.86 kB / 1.222 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/0.3835, allocations: 29.7 kB / 1.222 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.3836, allocations: 80.14 kB / 1.222 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.3837, allocations: 59.53 kB / 1.222 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.384, allocations: 89.66 kB / 1.222 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3841, allocations: 326.9 kB / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.3847, allocations: 307.9 kB / 1.223 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/0.3853, allocations: 307.9 kB / 1.223 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.387, allocations: 0.7758 MB / 1.224 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.387, allocations: 0 / 1.224 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001725/0.3887, allocations: 0.7998 MB / 1.225 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3888, allocations: 8 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3888, allocations: 0 / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3888, allocations: 0 / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/0.3896, allocations: 91.94 kB / 1.225 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3897, allocations: 4 kB / 1.225 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.3902, allocations: 15.94 kB / 1.225 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/0.3903, allocations: 31.98 kB / 1.225 GB, free: 5.203 MB / 0.9669 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.0002081/0.3905, allocations: 129.7 kB / 1.225 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.3906, allocations: 3.953 kB / 1.225 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.394, allocations: 1.396 MB / 1.226 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.394, allocations: 4 kB / 1.226 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.394, allocations: 0 / 1.226 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.394, allocations: 0 / 1.226 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.3971, allocations: 1.822 MB / 1.228 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3971, allocations: 0 / 1.228 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/0.398, allocations: 111.9 kB / 1.228 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.398, allocations: 8.031 kB / 1.228 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.398, allocations: 31.88 kB / 1.228 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.398, allocations: 4 kB / 1.228 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.398, allocations: 0 / 1.228 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.4006, allocations: 1.458 MB / 1.23 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.4007, allocations: 89.03 kB / 1.23 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.4008, allocations: 15.94 kB / 1.23 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.4013, allocations: 12.06 kB / 1.23 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.4015, allocations: 51.89 kB / 1.23 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.4016, allocations: 24 kB / 1.23 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.4016, allocations: 79.28 kB / 1.23 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4016, allocations: 0 / 1.23 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006096/0.4022, allocations: 179.7 kB / 1.23 GB, free: 15.68 MB / 0.9825 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.000535/0.4028, allocations: 227.4 kB / 1.23 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.4041, allocations: 0.7223 MB / 1.231 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4041, allocations: 0 / 1.231 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.4048, allocations: 403.7 kB / 1.232 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.4052, allocations: 16 kB / 1.232 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.4088, allocations: 0.8336 MB / 1.232 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4092, allocations: 0.722 MB / 1.233 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.4098, allocations: 95.41 kB / 1.233 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of SimCode: time 8.71e-07/0.4098, allocations: 0 / 1.233 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.01074/0.4205, allocations: 6.908 MB / 1.24 GB, free: 5.762 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.455505368998274] Failed to read output from testmodel.py, exit status != 0: 0.4288499339018017 0.441355207 0.078434839 Calling exit ...