Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0007707/0.0007707, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008114/0.0008114, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8587/0.8587, allocations: 177.2 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.762/1.762, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.787e-05, allocations: 5.234 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001184/0.001212, allocations: 0.6031 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.001525, allocations: 151.4 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.001547, allocations: 4 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.001562, allocations: 0 / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.946e-05/0.001582, allocations: 0 / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.001872, allocations: 47.77 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.001926, allocations: 11.94 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.001969, allocations: 7.984 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.002002, allocations: 4 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.002069, allocations: 7.969 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.002086, allocations: 4 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.002155, allocations: 31.97 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.002168, allocations: 4 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.002183, allocations: 4 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.002284, allocations: 39.86 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002286, allocations: 0 / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002287, allocations: 0 / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.00229, allocations: 0 / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003148/0.002605, allocations: 258.3 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.002642, allocations: 12.75 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.002673, allocations: 0.9375 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.432e-05/0.002757, allocations: 109.8 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.00277, allocations: 8.375 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.002797, allocations: 4.328 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.002923, allocations: 75.89 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.002931, allocations: 192 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.002943, allocations: 384 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.002949, allocations: 4.375 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.002989, allocations: 19.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.003111, allocations: 109.2 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.003187, allocations: 42.62 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.003213, allocations: 16.98 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.00328, allocations: 11.94 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.003301, allocations: 34.56 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.003302, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0008274/0.00413, allocations: 399.5 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.004159, allocations: 59.34 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/0.004207, allocations: 93.86 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.004219, allocations: 25.7 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.004241, allocations: 80.14 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.004269, allocations: 31.73 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.004296, allocations: 21.72 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.004368, allocations: 318.9 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.004388, allocations: 15.98 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.004406, allocations: 19.92 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.004456, allocations: 45.02 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.004457, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.243e-05/0.00453, allocations: 69.67 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.00454, allocations: 4 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004545, allocations: 0 / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.004556, allocations: 0 / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.004613, allocations: 19.98 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.004618, allocations: 3.938 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.00463, allocations: 4 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.004635, allocations: 4 kB / 1.004 GB, free: 9.914 MB / 0.9636 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 (8): * Single equations (assignments): 8 * 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 5.208e-05/0.004687, allocations: 113.8 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-06/0.004692, allocations: 4 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.00481, allocations: 73.64 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.004811, allocations: 4 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.004815, allocations: 3.938 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004818, allocations: 0 / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.339e-05/0.004892, allocations: 117.3 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004892, allocations: 4 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.004938, allocations: 15.94 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.004939, allocations: 0 / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.004946, allocations: 0 / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.004948, allocations: 3.984 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.004949, allocations: 0 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.005072, allocations: 117 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.005077, allocations: 3.984 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.005089, allocations: 8.031 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.005111, allocations: 0 / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.005127, allocations: 8.047 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.005131, allocations: 7.938 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.106e-05/0.005152, allocations: 79.28 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.005152, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001425/0.005295, allocations: 31.94 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001332/0.005428, allocations: 139 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.88e-05/0.005507, allocations: 35.98 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.005508, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.00553, allocations: 27.92 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.005635, allocations: 10.33 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.005875, allocations: 158.6 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.005914, allocations: 75.22 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.005933, allocations: 12.5 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.005934, allocations: 0 / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of Templates: time 0.001655/0.007589, allocations: 0.9324 MB / 1.006 GB, free: 7.824 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.555663876235485] Failed to read output from testmodel.py, exit status != 0: 0.011934853158891201 0.019249709 0.015401013000000002 Calling exit ...