Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001316/0.001316, 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.001492/0.001492, allocations: 222.3 kB / 23 MB, free: 4.914 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.208/3.208, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002378/0.002378, allocations: 69.17 kB / 1.187 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3467, allocations: 181.9 MB / 1.365 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001987/0.3487, allocations: 0.6171 MB / 1.365 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3506, allocations: 1.303 MB / 1.367 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.3507, allocations: 4 kB / 1.367 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.3507, allocations: 0 / 1.367 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.244e-05/0.3507, allocations: 0 / 1.367 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.3511, allocations: 87.66 kB / 1.367 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.609e-05/0.3512, allocations: 19.92 kB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.3512, allocations: 4 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.3513, allocations: 11.98 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.3513, allocations: 11.92 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.3513, allocations: 4 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.3516, allocations: 111.9 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.3517, allocations: 15.91 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.3517, allocations: 7.938 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3519, allocations: 83.7 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3519, allocations: 0 / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3519, allocations: 0 / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3519, allocations: 0 / 1.367 GB, free: 11.39 MB / 1.061 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.0004463/0.3523, allocations: 270.2 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3524, allocations: 16.02 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3524, allocations: 8.875 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3525, allocations: 110.5 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3525, allocations: 384 / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.3525, allocations: 8.375 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3527, allocations: 79.69 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3527, allocations: 0 / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3527, allocations: 7.938 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3527, allocations: 7.984 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.646e-05/0.3528, allocations: 23.92 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.353, allocations: 117.3 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3531, allocations: 58.55 kB / 1.368 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.3531, allocations: 20.86 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.3534, allocations: 39.95 kB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3534, allocations: 38.56 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.3534, allocations: 0 / 1.368 GB, free: 10.48 MB / 1.061 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.01998/0.3734, allocations: 4.162 MB / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3734, allocations: 59.39 kB / 1.372 GB, free: 6.148 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.3735, allocations: 93.86 kB / 1.372 GB, free: 6.047 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.3736, allocations: 25.7 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.3736, allocations: 80.14 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.3738, allocations: 63.47 kB / 1.372 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.374, allocations: 93.61 kB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3742, allocations: 330.7 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.3747, allocations: 312 kB / 1.373 GB, free: 5.137 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.3753, allocations: 307.9 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.3769, allocations: 0.7763 MB / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3769, allocations: 0 / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001672/0.3786, allocations: 0.804 MB / 1.375 GB, free: 3.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3786, allocations: 4 kB / 1.375 GB, free: 3.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3786, allocations: 0 / 1.375 GB, free: 3.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3786, allocations: 0 / 1.375 GB, free: 3.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.3795, allocations: 87.95 kB / 1.375 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3795, allocations: 4 kB / 1.375 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.38, allocations: 8 kB / 1.375 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.3801, allocations: 39.97 kB / 1.375 GB, free: 3.109 MB / 1.061 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.0002016/0.3803, allocations: 122.8 kB / 1.375 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.3804, allocations: 7.953 kB / 1.375 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.3836, allocations: 1.392 MB / 1.376 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3837, allocations: 4 kB / 1.376 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3837, allocations: 0 / 1.376 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3837, allocations: 3.984 kB / 1.376 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.3868, allocations: 1.677 MB / 1.378 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3868, allocations: 0 / 1.378 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/0.3876, allocations: 107.9 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.3877, allocations: 3.984 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.3877, allocations: 31.94 kB / 1.378 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3877, allocations: 0 / 1.378 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3877, allocations: 7.938 kB / 1.378 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.3903, allocations: 1.462 MB / 1.379 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.3903, allocations: 15.88 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.3904, allocations: 12 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.3909, allocations: 8 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.3911, allocations: 55.88 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.3912, allocations: 28 kB / 1.38 GB, free: 14.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.3912, allocations: 75.28 kB / 1.38 GB, free: 14.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3912, allocations: 0 / 1.38 GB, free: 14.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005872/0.3918, allocations: 191.7 kB / 1.38 GB, free: 13.83 MB / 1.076 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.0005699/0.3924, allocations: 222.9 kB / 1.38 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.3937, allocations: 0.7189 MB / 1.381 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3937, allocations: 0 / 1.381 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.3944, allocations: 411.5 kB / 1.381 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3947, allocations: 16 kB / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.3982, allocations: 0.8226 MB / 1.382 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3983, allocations: 103.5 kB / 1.382 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.3989, allocations: 95.41 kB / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/0.3989, allocations: 0 / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of Templates: time 0.01232/0.4112, allocations: 7.124 MB / 1.389 GB, free: 4.324 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.246175630018115] Failed to read output from testmodel.py, exit status != 0: 0.4207277777604759 0.43591349199999996 0.080799248 Calling exit ...