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.001279/0.001279, 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.001406/0.001406, allocations: 219.8 kB / 22.99 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.25/3.25, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.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: 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.002095/0.002095, allocations: 68.73 kB / 1.187 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3921, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001985/0.3941, allocations: 0.6099 MB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004715/0.3945, allocations: 155.9 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.3946, allocations: 4 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.3946, allocations: 0 / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.855e-05/0.3946, allocations: 3.938 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.3949, allocations: 35.89 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.395, allocations: 15.98 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.395, allocations: 0 / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.3951, allocations: 7.938 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.3952, allocations: 15.97 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3952, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.3953, allocations: 31.97 kB / 1.366 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3953, allocations: 8 kB / 1.366 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.3953, allocations: 3.938 kB / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.3955, allocations: 35.88 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3955, allocations: 0 / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3955, allocations: 0 / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3955, allocations: 3.938 kB / 1.366 GB, free: 12.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004377/0.3959, allocations: 255.9 kB / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3959, allocations: 8.031 kB / 1.366 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.396, allocations: 0.9375 kB / 1.366 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3961, allocations: 118.5 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3961, allocations: 384 / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3962, allocations: 4.375 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3963, allocations: 71.94 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3963, allocations: 192 / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3963, allocations: 3.938 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3963, allocations: 0 / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.3964, allocations: 12 kB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.3966, allocations: 113.3 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3967, allocations: 46.56 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.3967, allocations: 20.98 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.3968, allocations: 11.92 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3968, allocations: 38.56 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3968, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001274/0.3981, allocations: 403 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3982, allocations: 55.34 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.3982, allocations: 101.8 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3982, allocations: 25.7 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.3983, allocations: 84.12 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.3984, allocations: 23.8 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3984, allocations: 21.84 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002502/0.3987, allocations: 314.8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.3987, allocations: 12 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.3987, allocations: 15.98 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.403e-05/0.3988, allocations: 36.86 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3988, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000178/0.399, allocations: 70.3 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.399, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.399, allocations: 7.875 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.399, allocations: 7.938 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.3991, allocations: 15.98 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3991, allocations: 12.06 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.3991, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3991, allocations: 0 / 1.367 GB, free: 10.5 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 (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.315e-05/0.3992, allocations: 113.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.3992, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.3994, allocations: 89.44 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3994, allocations: 0 / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3994, allocations: 0 / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3994, allocations: 3.984 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3995, allocations: 117.3 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3996, allocations: 0 / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.3996, allocations: 15.98 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3996, allocations: 0 / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3997, allocations: 4 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3997, allocations: 3.938 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3997, allocations: 0 / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.3999, allocations: 117 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.3999, allocations: 4.031 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3999, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.3999, allocations: 7.938 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.3999, allocations: 8.047 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.4, allocations: 4 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001349/0.4001, allocations: 79.28 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4001, allocations: 0 / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002264/0.4003, allocations: 31.92 kB / 1.368 GB, free: 9.84 MB / 1.061 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.0002372/0.4006, allocations: 131.1 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.4007, allocations: 35.91 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4007, allocations: 0 / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.4007, allocations: 24.09 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.4009, allocations: 4 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.4012, allocations: 167.1 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.4013, allocations: 68.84 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.4014, allocations: 15.38 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4014, allocations: 0 / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of Templates: time 0.002742/0.4041, allocations: 0.9404 MB / 1.369 GB, free: 8.41 MB / 1.061 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: 11.194098977837712] Failed to read output from testmodel.py, exit status != 0: 0.41265965020284057 0.428188586 0.02958008999999994 Calling exit ...