Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001908/0.001908, allocations: 105.7 kB / 16.4 MB, free: 6.004 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.002086/0.002086, allocations: 188.7 kB / 19.35 MB, free: 3.602 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.445/1.445, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.749 GB, free: 2.992 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.91 kB / 1.073 GB, free: 64 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8796, allocations: 159.1 MB / 1.229 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002018/0.8817, allocations: 0.6044 MB / 1.229 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004659/0.8822, allocations: 159.4 kB / 1.229 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.8822, allocations: 0 / 1.229 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.8822, allocations: 3.938 kB / 1.229 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.875e-05/0.8823, allocations: 0 / 1.229 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.8826, allocations: 43.89 kB / 1.229 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.8827, allocations: 15.98 kB / 1.229 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.8827, allocations: 0 / 1.229 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.155e-05/0.8828, allocations: 4 kB / 1.23 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.8829, allocations: 19.92 kB / 1.23 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.8829, allocations: 0 / 1.23 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.883, allocations: 35.95 kB / 1.23 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.883, allocations: 0 / 1.23 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.883, allocations: 7.938 kB / 1.23 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.8832, allocations: 33.77 kB / 1.23 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8832, allocations: 0 / 1.23 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8832, allocations: 3.938 kB / 1.23 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.8832, allocations: 0 / 1.23 GB, free: 3.883 MB / 0.9356 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.0004545/0.8836, allocations: 339.3 kB / 1.23 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8837, allocations: 12.03 kB / 1.23 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.8837, allocations: 34.75 kB / 1.23 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.8838, allocations: 0.9375 kB / 1.23 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.8839, allocations: 164.4 kB / 1.23 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.884, allocations: 12.3 kB / 1.23 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.884, allocations: 4.375 kB / 1.23 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.8841, allocations: 42.25 kB / 1.23 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8841, allocations: 3.938 kB / 1.23 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.8842, allocations: 0 / 1.23 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8842, allocations: 4 kB / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.8842, allocations: 19.92 kB / 1.23 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.8844, allocations: 165.6 kB / 1.23 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.8845, allocations: 42.62 kB / 1.23 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.8846, allocations: 16.98 kB / 1.23 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.8847, allocations: 81.11 kB / 1.23 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.8847, allocations: 38.55 kB / 1.231 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.8848, allocations: 0 / 1.231 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001375/0.8861, allocations: 492.2 kB / 1.231 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.8862, allocations: 51.41 kB / 1.231 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.8863, allocations: 97.86 kB / 1.231 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.8863, allocations: 29.7 kB / 1.231 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.8864, allocations: 80.14 kB / 1.231 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.8864, allocations: 31.91 kB / 1.231 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.8865, allocations: 17.72 kB / 1.231 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.8866, allocations: 318.8 kB / 1.232 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.8867, allocations: 8 kB / 1.232 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.8867, allocations: 15.98 kB / 1.232 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.8868, allocations: 36.86 kB / 1.232 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.8868, allocations: 0 / 1.232 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001266/0.8869, allocations: 77.5 kB / 1.232 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8869, allocations: 7.938 kB / 1.232 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.887, allocations: 4 kB / 1.232 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.887, allocations: 4 kB / 1.232 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.8871, allocations: 11.98 kB / 1.232 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8871, allocations: 4 kB / 1.232 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.8871, allocations: 4 kB / 1.232 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.8871, allocations: 0 / 1.232 GB, free: 1.336 MB / 0.9356 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 9.786e-05/0.8872, allocations: 110.4 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.8873, allocations: 3.938 kB / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.8874, allocations: 89.58 kB / 1.232 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8875, allocations: 0 / 1.232 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8875, allocations: 0 / 1.232 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.8875, allocations: 3.984 kB / 1.232 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.8877, allocations: 161.7 kB / 1.232 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8877, allocations: 0 / 1.232 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.8878, allocations: 16.12 kB / 1.232 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.8878, allocations: 4 kB / 1.232 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.8878, allocations: 7.984 kB / 1.232 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8878, allocations: 0 / 1.232 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8878, allocations: 4 kB / 1.232 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.888, allocations: 129.3 kB / 1.232 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.8881, allocations: 85.08 kB / 1.232 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.8881, allocations: 0 / 1.232 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.8882, allocations: 3.984 kB / 1.232 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.8882, allocations: 7.984 kB / 1.232 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.8882, allocations: 4 kB / 1.232 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.8883, allocations: 83.34 kB / 1.232 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8883, allocations: 0 / 1.232 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002266/0.8885, allocations: 27.94 kB / 1.232 GB, free: 0.5 MB / 0.9356 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.0006471/0.8891, allocations: 0.6865 MB / 1.233 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.8893, allocations: 32.14 kB / 1.233 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8893, allocations: 4 kB / 1.233 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.8893, allocations: 27.92 kB / 1.233 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.8895, allocations: 4 kB / 1.233 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.8907, allocations: 1.199 MB / 1.234 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.8911, allocations: 0.6807 MB / 1.235 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.8911, allocations: 4 kB / 1.235 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.8912, allocations: 23.42 kB / 1.235 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of SimCode: time 5e-07/0.8912, allocations: 0 / 1.235 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.9181, allocations: 1.825 MB / 1.237 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/9.088, allocations: 7.625 kB / 1.237 GB, free: 12.02 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.073606068035588] Failed to read output from testmodel.py, exit status != 0: 9.157324561849236 9.182581171 8.294466584 Calling exit ...