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.00134/0.00134, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001551/0.001551, allocations: 220.6 kB / 23 MB, free: 4.918 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.197/3.197, allocations: 0.4892 GB / 0.7951 GB, free: 35.79 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: 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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [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.002145/0.002145, allocations: 73.39 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002108/0.3455, allocations: 0.6313 MB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3477, allocations: 1.299 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.3477, allocations: 0 / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.3477, allocations: 4 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.902e-05/0.3477, allocations: 3.938 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.3482, allocations: 83.72 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.3482, allocations: 15.98 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.3483, allocations: 7.984 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.3483, allocations: 19.86 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.3484, allocations: 11.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3484, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.3487, allocations: 115.9 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.3487, allocations: 4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.3488, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.349, allocations: 83.7 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.349, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.349, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.349, allocations: 0 / 1.329 GB, free: 15.59 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.0004925/0.3495, allocations: 278.2 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3495, allocations: 12.03 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3495, allocations: 4.922 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3497, allocations: 110.5 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3497, allocations: 384 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3497, allocations: 8.375 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3499, allocations: 83.62 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3499, allocations: 3.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3499, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3499, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.35, allocations: 19.98 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.3502, allocations: 117.2 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3503, allocations: 58.62 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.3503, allocations: 28.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.3506, allocations: 39.95 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3506, allocations: 38.56 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3506, allocations: 0 / 1.329 GB, free: 14.68 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.02093/0.3716, allocations: 4.16 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.3716, allocations: 51.41 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.3717, allocations: 97.86 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.3718, allocations: 25.7 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.3718, allocations: 80.14 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.372, allocations: 59.48 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.3722, allocations: 93.66 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3724, allocations: 318.8 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.373, allocations: 316 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.3735, allocations: 307.9 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.3752, allocations: 0.7791 MB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3752, allocations: 7.875 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001753/0.377, allocations: 0.7999 MB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.377, allocations: 4 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.377, allocations: 0 / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.377, allocations: 0 / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.3779, allocations: 91.94 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3779, allocations: 4 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.3785, allocations: 4 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.3786, allocations: 47.91 kB / 1.336 GB, free: 7.316 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.0002063/0.3788, allocations: 118.3 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.3789, allocations: 7.953 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.3822, allocations: 1.399 MB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3822, allocations: 7.938 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3822, allocations: 3.938 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3822, allocations: 0 / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.3854, allocations: 1.661 MB / 1.34 GB, free: 4.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3854, allocations: 4 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/0.3863, allocations: 103.9 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.3863, allocations: 0 / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.004e-05/0.3864, allocations: 35.98 kB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3864, allocations: 0 / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3864, allocations: 11.88 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.3891, allocations: 1.466 MB / 1.341 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.3891, allocations: 19.86 kB / 1.341 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.3892, allocations: 15.94 kB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.3898, allocations: 8 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3899, allocations: 43.89 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.39, allocations: 32 kB / 1.341 GB, free: 2.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.39, allocations: 75.28 kB / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.39, allocations: 0 / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005922/0.3906, allocations: 187.7 kB / 1.341 GB, free: 2.039 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.0005598/0.3912, allocations: 234.9 kB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.3926, allocations: 0.7183 MB / 1.342 GB, free: 1.082 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3926, allocations: 0 / 1.342 GB, free: 1.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/0.3933, allocations: 399.7 kB / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3937, allocations: 16 kB / 1.343 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.3974, allocations: 0.8215 MB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.3975, allocations: 107.5 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/0.3981, allocations: 91.41 kB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.3981, allocations: 0 / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of Templates: time 0.01233/0.4104, allocations: 7.138 MB / 1.351 GB, free: 8.52 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.393361594993621] Failed to read output from testmodel.py, exit status != 0: 0.41878377087414265 0.43405890399999997 0.08191946800000001 Calling exit ...