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.0008056/0.0008056, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001301/0.001301, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8735/0.8735, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.771/1.771, allocations: 389 MB / 0.633 GB, free: 12.7 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.86e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001585/0.001604, allocations: 0.5954 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.002041, allocations: 147.6 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.002069, allocations: 7.938 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.002088, allocations: 3.938 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.165e-05/0.00211, allocations: 0 / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.002479, allocations: 42.16 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.002539, allocations: 15.92 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.002588, allocations: 3.984 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.002625, allocations: 12 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.002696, allocations: 3.984 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.002716, allocations: 4 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.0028, allocations: 27.95 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.002817, allocations: 12 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.002836, allocations: 3.938 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.002954, allocations: 39.88 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.002956, allocations: 0 / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.144e-06/0.002959, allocations: 3.984 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002962, allocations: 3.938 kB / 1.001 GB, free: 12.52 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.0003593/0.003322, allocations: 254.3 kB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.003364, allocations: 8.75 kB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.003402, allocations: 34.75 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.003429, allocations: 0.9375 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/0.00352, allocations: 113.8 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.003532, allocations: 8.375 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.003554, allocations: 384 / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.003679, allocations: 67.95 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.003688, allocations: 192 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.003699, allocations: 4.375 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.003705, allocations: 4.125 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.003759, allocations: 19.92 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.003996, allocations: 124.8 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.0041, allocations: 42.62 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.004138, allocations: 20.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/0.004221, allocations: 7.984 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.004248, allocations: 34.56 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.00425, allocations: 4 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.001172/0.005422, allocations: 419.2 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.005453, allocations: 55.41 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.005504, allocations: 89.86 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.00552, allocations: 29.7 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/0.005544, allocations: 80.14 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.00558, allocations: 35.86 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.005619, allocations: 17.72 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.005707, allocations: 318.8 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.005738, allocations: 12 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.005768, allocations: 15.98 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.005841, allocations: 41.06 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.005842, allocations: 4 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.00595, allocations: 73.56 kB / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.005964, allocations: 4 kB / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005969, allocations: 0 / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.005982, allocations: 3.938 kB / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.743e-05/0.006059, allocations: 19.98 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.006064, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.006085, allocations: 4 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.006092, allocations: 0 / 1.003 GB, free: 10.33 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 6.393e-05/0.006156, allocations: 113.8 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.006168, allocations: 3.984 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.006327, allocations: 81.58 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.00633, allocations: 3.938 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.006335, allocations: 3.984 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006339, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.006439, allocations: 136.7 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006441, allocations: 4 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.006518, allocations: 11.98 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.006522, allocations: 4 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.00653, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.006533, allocations: 3.938 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006534, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.006725, allocations: 117 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-06/0.006732, allocations: 0 / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006744, allocations: 3.938 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.006793, allocations: 16.02 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.00681, allocations: 4 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-06/0.006817, allocations: 4 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.006844, allocations: 75.28 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.006844, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002451/0.007089, allocations: 31.92 kB / 1.003 GB, free: 9.641 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.0004685/0.007558, allocations: 0.6865 MB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.007673, allocations: 36.28 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.007676, allocations: 4.156 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.007709, allocations: 20.09 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.007871, allocations: 15.92 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.009016, allocations: 1.196 MB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.009066, allocations: 65.38 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.009102, allocations: 4 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.009141, allocations: 20.55 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.009141, allocations: 0 / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.0282, allocations: 2.459 MB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.927, allocations: 10.03 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.024373030290008] Failed to read output from testmodel.py, exit status != 0: 7.009094763547182 7.016930331 7.012293574 Calling exit ...